|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 NameValuePair
null
.public String getValue()
NameValuePair
getValue
in interface NameValuePair
null
.public String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |