|
Oracle Application Server 10g HTTPClient API Reference 10g (9.0.4) B12022-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 | |
java.lang.String |
getName() Get the name. |
java.lang.String |
getValue() Get the value. |
java.lang.String |
toString() Produces a string containing the name and value of this instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, 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()
toString
in class java.lang.Object
|
| ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |