|
Oracle Application Server HTTPClient Java API Reference 10g Release 3 (10.1.3.1.0) B32117-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
HTTPClient.NVPair
This class holds a Name/Value pair of strings. It's used for headers, form-data, attribute-lists, etc. This class is immutable.
Constructor Summary | |
NVPair(NVPair p) Creates a copy of a given name/value pair. |
|
NVPair(java.lang.String name, java.lang.String value) Creates a new name/value pair and initializes it to the specified name and value. |
Method Summary | |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getName() Get the name. |
java.lang.String |
getValue() Get the value. |
int |
hashCode() |
java.lang.String |
toString() Produces a string containing the name and value of this instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NVPair(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic NVPair(NVPair p)
p
- the name/value pair to copyMethod Detail |
public final java.lang.String getName()
public final java.lang.String getValue()
public java.lang.String toString()
public boolean equals(java.lang.Object object)
public int hashCode()
|
Oracle Application Server HTTPClient Java API Reference 10g Release 3 (10.1.3.1.0) B32117-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |