|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.util.NameValuePair
public class NameValuePair
A name/value pair.
| Constructor Summary | |
|---|---|
NameValuePair(String name,
String value)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getName()
Returns the name. |
String |
getValue()
Returns the value. |
int |
hashCode()
|
static org.apache.http.NameValuePair[] |
toHttpClient(List<NameValuePair> pairs)
Converts the specified name/value pairs into HttpClient name/value pairs. |
static org.apache.http.NameValuePair[] |
toHttpClient(NameValuePair[] pairs)
Converts the specified name/value pairs into HttpClient name/value pairs. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NameValuePair(String name,
String value)
name - the namevalue - the value| Method Detail |
|---|
public String getName()
public String getValue()
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic static org.apache.http.NameValuePair[] toHttpClient(NameValuePair[] pairs)
pairs - the name/value pairs to convert
public static org.apache.http.NameValuePair[] toHttpClient(List<NameValuePair> pairs)
pairs - the name/value pairs to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||