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 should be used to parse request messages on the server server.
| Modifier and Type | Field and Description |
|---|---|
| public static final LazyLineParser |
| 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 LazyLineParser INSTANCE Hides org. | |
| LazyLineParser | back to summary |
|---|---|
| public LazyLineParser() | |
| 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.
| |