| Access | Constructor and Description |
|---|---|
| public | LenientHttpResponseParser(final LineParser
the line parser. If lineParser, final HttpResponseFactory<ClassicHttpResponse> null
org. will be used.HTTP response factory. If responseFactory, final Http1Config null
org.
will be used.HTTP/1.1 parameters. If h1Config)null. Http1Config#DEFAULT will be used.Creates new instance of DefaultHttpResponseParser. |
| public | LenientHttpResponseParser(final Http1Config
HTTP/1.1 parameters. If h1Config)null. Http1Config#DEFAULT will be used.Creates new instance of DefaultHttpResponseParser. |
| Modifier and Type | Method and Description |
|---|---|
| protected ClassicHttpResponse | createMessage(final CharArrayBuffer
the session input buffer. buffer)Overrides org. HttpMessage based on the initial input from the session buffer.
|
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| LenientHttpResponseParser | back to summary |
|---|---|
| public LenientHttpResponseParser(final LineParser lineParser, final HttpResponseFactory<ClassicHttpResponse> responseFactory, final Http1Config h1Config) Creates new instance of DefaultHttpResponseParser.
| |
| LenientHttpResponseParser | back to summary |
|---|---|
| public LenientHttpResponseParser(final Http1Config h1Config) Creates new instance of DefaultHttpResponseParser.
| |
| createMessage | back to summary |
|---|---|
| protected ClassicHttpResponse createMessage(final CharArrayBuffer buffer) throws IOException Overrides org. Doc from org. Subclasses must override this method to generate an instance of
Usually this method is expected to read just the very first line or
the very first valid from the data stream and based on the input generate
an appropriate instance of
| |