|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonalb.net.http.HeaderEntry
public class HeaderEntry
Represents a single name-value pair of an HTTP Header.
Constructor Summary | |
---|---|
HeaderEntry(java.lang.String key,
java.lang.String value)
Creates a HeaderEntry with specified key and value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getKey()
Gets the Key/Name. |
java.lang.String |
getValue()
Gets the Value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HeaderEntry(java.lang.String key, java.lang.String value)
key
- the name; must be non-nullvalue
- the valueMethod Detail |
---|
public java.lang.String getKey()
public java.lang.String getValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |