HeaderElement
| Modifier and Type | Field and Description |
|---|---|
| private static final NameValuePair[] | |
| private final String | |
| private final NameValuePair[] | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BasicHeaderElement(final String
header element name name, final String header element value. May be value, final NameValuePair[] nullheader element parameters. May be parameters)null.
Parameters are copied by reference, not by valueConstructor with name, value and parameters. |
| public | BasicHeaderElement(final String
header element name name, final String header element value. May be value)nullConstructor with name and value. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public NameValuePair | getParameter(final int
index index)Implements org. |
| public NameValuePair | getParameterByName(final String
parameter name name)Implements org. |
| public int | getParameterCount()
Implements org. |
| public NameValuePair[] | getParameters()
Implements org. |
| public String | |
| public String |
| EMPTY_NAME_VALUE_PAIR_ARRAY | back to summary |
|---|---|
| private static final NameValuePair[] EMPTY_NAME_VALUE_PAIR_ARRAY | |
| name | back to summary |
|---|---|
| private final String name | |
| parameters | back to summary |
|---|---|
| private final NameValuePair[] parameters | |
| value | back to summary |
|---|---|
| private final String value | |
| BasicHeaderElement | back to summary |
|---|---|
| public BasicHeaderElement(final String name, final String value, final NameValuePair[] parameters) Constructor with name, value and parameters.
| |
| BasicHeaderElement | back to summary |
|---|---|
| public BasicHeaderElement(final String name, final String value) Constructor with name and value. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns header element name. | |
| getParameter | back to summary |
|---|---|
| public NameValuePair getParameter(final int index) Implements org. Doc from org. Returns parameter with the given index.
| |
| getParameterByName | back to summary |
|---|---|
| public NameValuePair getParameterByName(final String name) Implements org. Doc from org. Returns the first parameter with the given name.
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements org. Doc from org. Returns the total count of parameters.
| |
| getParameters | back to summary |
|---|---|
| public NameValuePair[] getParameters() Implements org. Doc from org. Returns an array of name / value pairs.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements org. Doc from org. Returns header element value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |