Header.
| Modifier and Type | Field and Description |
|---|---|
| private static final HeaderElement[] | |
| private final String | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BasicHeader(final String
the header name name, final String the header value value)Constructs with name and value. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public HeaderElement[] | |
| public String | |
| public String | |
| public String |
| EMPTY_HEADER_ELEMENTS | back to summary |
|---|---|
| private static final HeaderElement[] EMPTY_HEADER_ELEMENTS | |
| name | back to summary |
|---|---|
| private final String name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| private final String value | |
| BasicHeader | back to summary |
|---|---|
| public BasicHeader(final String name, final String value) Constructs with name and value. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getElements | back to summary |
|---|---|
| public HeaderElement[] getElements() throws ParseException Implements org. Doc from org. Parses the value.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Gets the name of this pair. | |
| getValue | back to summary |
|---|---|
| public String getValue() Implements org. Doc from org. Gets the value of this pair. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |