| java.lang.Object org.jicarilla.http.HTTPField
Field Summary | |
protected ByteBuffer | m_name | protected ByteBuffer | m_value |
Constructor Summary | |
public | HTTPField() Default constructor. | public | HTTPField(ByteBuffer name, ByteBuffer value) Constructor. |
m_name | protected ByteBuffer m_name(Code) | | |
m_value | protected ByteBuffer m_value(Code) | | |
HTTPField | public HTTPField()(Code) | | Default constructor.
|
HTTPField | public HTTPField(ByteBuffer name, ByteBuffer value)(Code) | | Constructor.
Parameters: name - The name. Parameters: value - The value. |
equals | public boolean equals(Object object)(Code) | | Test if the given object is equal to me. In this implementation,
an object is equal to me iff it has the same runtime type and the
name and value attributes are both equal (or
==).
Parameters: object - the java.lang.Object to compare to true if the objects are equal. |
getValue | public ByteBuffer getValue()(Code) | | Return the current value.
String value The current value. |
hashCode | public int hashCode()(Code) | | hashCode. Returns a hash code for this object such that if a.
HTTPField.equals equals (b) then a.hashCode() == b.hashCode().
The hash code. |
recycle | public void recycle()(Code) | | |
setValue | public void setValue(ByteBuffer value)(Code) | | Set the value.
Parameters: value - The new value. |
toExternalForm | public String toExternalForm()(Code) | | Get a
java.lang.String representation of me, suitable
for use in an HTTP head.
string value for a HTTP HEAD |
|
|