org.apache.hc.core5.http.message.HeaderValueParser implementation.
| Modifier and Type | Field and Description |
|---|---|
| private static final char | |
| private static final HeaderElement[] | EMPTY_HEADER_ELEMENT_ARRAY
An empty immutable |
| private static final NameValuePair[] | EMPTY_NAME_VALUE_ARRAY
An empty immutable |
| public static final BasicHeaderValueParser | |
| private static final char | |
| private static final BitSet | |
| private final Tokenizer | |
| private static final BitSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HeaderElement[] | parseElements(final CharSequence
buffer holding the header value to parse buffer, final ParserCursor the parser cursor containing the current position and
the bounds within the buffer for the parsing operation cursor)Implements org. |
| public HeaderElement | parseHeaderElement(final CharSequence
buffer holding the element to parse buffer, final ParserCursor the parser cursor containing the current position and
the bounds within the buffer for the parsing operation cursor)Implements org. |
| public NameValuePair | parseNameValuePair(final CharSequence
the buffer holding the name-value pair to parse buffer, final ParserCursor the parser cursor containing the current position and
the bounds within the buffer for the parsing operation cursor)Implements org. |
| public NameValuePair[] | parseParameters(final CharSequence
buffer holding the name-value list to parse buffer, final ParserCursor the parser cursor containing the current position and
the bounds within the buffer for the parsing operation cursor)Implements org. |
| ELEM_DELIMITER | back to summary |
|---|---|
| private static final char ELEM_DELIMITER | |
| EMPTY_HEADER_ELEMENT_ARRAY | back to summary |
|---|---|
| private static final HeaderElement[] EMPTY_HEADER_ELEMENT_ARRAY An empty immutable | |
| EMPTY_NAME_VALUE_ARRAY | back to summary |
|---|---|
| private static final NameValuePair[] EMPTY_NAME_VALUE_ARRAY An empty immutable | |
| INSTANCE | back to summary |
|---|---|
| public static final BasicHeaderValueParser INSTANCE | |
| PARAM_DELIMITER | back to summary |
|---|---|
| private static final char PARAM_DELIMITER | |
| TOKEN_DELIMITER | back to summary |
|---|---|
| private static final BitSet TOKEN_DELIMITER | |
| tokenizer | back to summary |
|---|---|
| private final Tokenizer tokenizer | |
| VALUE_DELIMITER | back to summary |
|---|---|
| private static final BitSet VALUE_DELIMITER | |
| BasicHeaderValueParser | back to summary |
|---|---|
| public BasicHeaderValueParser() | |
| parseElements | back to summary |
|---|---|
| public HeaderElement[] parseElements(final CharSequence buffer, final ParserCursor cursor) Implements org. Doc from org. Parses a header value into elements.
Parse errors are indicated as
| |
| parseHeaderElement | back to summary |
|---|---|
| public HeaderElement parseHeaderElement(final CharSequence buffer, final ParserCursor cursor) Implements org. Doc from org. Parses a single header element. A header element consist of a semicolon-separate list of name=value definitions.
| |
| parseNameValuePair | back to summary |
|---|---|
| public NameValuePair parseNameValuePair(final CharSequence buffer, final ParserCursor cursor) Implements org. Doc from org. Parses a name=value specification, where the = and value are optional.
| |
| parseParameters | back to summary |
|---|---|
| public NameValuePair[] parseParameters(final CharSequence buffer, final ParserCursor cursor) Implements org. Doc from org. Parses a list of name-value pairs.
These lists are used to specify parameters to a header element.
Parse errors are indicated as
| |