org.apache.hc.core5.http.message.BasicLineParser that defers parsing of
header values. Header value is parsed only if accessed with
org.apache.hc.core5.http.Header#getValue() .
This parser unlike BasicLineParser and LazyLineParser
will not reject headers containing whitespaces between the header field
name and colon.
This parser should be used to parse response messages on the client server or to parse both request and response messages by an intermediary (proxy).
| Modifier and Type | Field and Description |
|---|---|
| public static final LazyLaxLineParser |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Header | parseHeader(final CharArrayBuffer
a buffer holding the full header line. buffer)Overrides org. Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final LazyLaxLineParser INSTANCE Hides org. | |
| LazyLaxLineParser | back to summary |
|---|---|
| public LazyLaxLineParser() | |
| parseHeader | back to summary |
|---|---|
| public Header parseHeader(final CharArrayBuffer buffer) throws ParseException Overrides org. Implements org. Doc from org. Parses a header from the given buffer containing one line of text. The full header line is expected here. Header continuation lines must be joined by the caller before invoking this method.
| |