org.apache.hc.core5.http.nio.NHttpMessageParser implementation for HttpResponses.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpResponseFactory |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttpResponseParser(final HttpResponseFactory<T>
the response factory. responseFactory, final LineParser the line parser. If parser, final Http1Config null
org. will be used.Message http1Config. If http1Config)null
Http1Config#DEFAULT will be used.Creates an instance of DefaultHttpResponseParser. |
| public | DefaultHttpResponseParser(final HttpResponseFactory<T> responseFactory, final Http1Config http1Config)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected T | createMessage(final CharArrayBuffer
the line buffer. buffer)Implements abstract org. HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message.
|
| responseFactory | back to summary |
|---|---|
| private final HttpResponseFactory<T> responseFactory | |
| DefaultHttpResponseParser | back to summary |
|---|---|
| public DefaultHttpResponseParser(final HttpResponseFactory<T> responseFactory, final LineParser parser, final Http1Config http1Config) Creates an instance of DefaultHttpResponseParser.
| |
| DefaultHttpResponseParser | back to summary |
|---|---|
public DefaultHttpResponseParser(final HttpResponseFactory<T> responseFactory, final Http1Config http1Config)
| |
| DefaultHttpResponseParser | back to summary |
|---|---|
public DefaultHttpResponseParser(final HttpResponseFactory<T> responseFactory)
| |
| createMessage | back to summary |
|---|---|
| protected T createMessage(final CharArrayBuffer buffer) throws HttpException Implements abstract org. Doc from org. Creates
| |