| java.lang.Object HTTPClient.HttpHeaderElement
HttpHeaderElement | public HttpHeaderElement(String name)(Code) | | Construct an element with the given name. The value and parameters
are set to null. This can be used when a dummy element is constructed
for comparison or retrieval purposes.
Parameters: name - the name of the element |
HttpHeaderElement | public HttpHeaderElement(String name, String value, NVPair[] params)(Code) | | Parameters: name - the first token in the element Parameters: value - the value part, or null Parameters: params - the parameters |
appendTo | public void appendTo(StringBuffer buf)(Code) | | Append this header element to the given buffer. This is basically a
more efficient version of toString() for assembling
multiple elements.
Parameters: buf - the StringBuffer to append this header to See Also: HttpHeaderElement.toString() |
equals | public boolean equals(Object obj)(Code) | | Two elements are equal if they have the same name. The comparison is
case-insensitive.
Parameters: obj - the object to compare with true if obj is an HttpHeaderElement with the samename as this element. |
toString | public String toString()(Code) | | a string containing the HttpHeaderElement formatted as itwould appear in a header |
|
|