|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.message.BasicNameValuePair
@Contract(threading=IMMUTABLE) public class BasicNameValuePair
Basic implementation of NameValuePair.
| Constructor Summary | |
|---|---|
BasicNameValuePair(String name,
String value)
Default Constructor taking a name and a value. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
boolean |
equals(Object object)
|
String |
getName()
Gets the name of this pair. |
String |
getValue()
Gets the value of this pair. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicNameValuePair(String name,
String value)
name - The name.value - The value.| Method Detail |
|---|
public String getName()
NameValuePair
getName in interface NameValuePairnull.public String getValue()
NameValuePair
getValue in interface NameValuePairnull.public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||