public class HttpHeaderElement extends Object
Util.parseHeader
.Util.parseHeader(java.lang.String)
,
Util.getElement(java.util.Vector, java.lang.String)
,
Util.assembleHeader(java.util.Vector)
Constructor and Description |
---|
HttpHeaderElement(String name)
Construct an element with the given name.
|
HttpHeaderElement(String name,
String value,
NVPair[] params) |
public HttpHeaderElement(String name)
name
- the name of the elementpublic String getName()
public String getValue()
public NVPair[] getParams()
public boolean equals(Object obj)
public String toString()
public void appendTo(StringBuffer buf)
toString()
for assembling
multiple elements.buf
- the StringBuffer to append this header totoString()
Copyright © 2000-2014. All Rights Reserved.