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) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(StringBuffer buf)
Append this header element to the given buffer.
|
boolean |
equals(Object obj)
Two elements are equal if they have the same name.
|
String |
getName() |
NVPair[] |
getParams() |
String |
getValue() |
String |
toString() |
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 © 2017 eXo Platform SAS. All Rights Reserved.