Deprecated
(4.2) use DefaultHttpResponseParser
SessionInputBuffer.
The following parameters can be used to customize the behavior of this class:
| Modifier and Type | Field and Description |
|---|---|
| private final CharArrayBuffer | |
| private final HttpResponseFactory |
| Access | Constructor and Description |
|---|---|
| public | HttpResponseParser(final SessionInputBuffer
the session input buffer. buffer, final LineParser the line parser. parser, final HttpResponseFactory the factory to use to create
responseFactory, final HttpParams org.s.HTTP parameters. params)
Deprecated
as a consequence of
Creates an instance of this class.
HttpParams being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected HttpMessage | parseHead(final SessionInputBuffer
the session input buffer. sessionBuffer)Implements abstract org. HttpMessage based on the initial input from the session buffer.
|
| lineBuf | back to summary |
|---|---|
| private final CharArrayBuffer lineBuf | |
| responseFactory | back to summary |
|---|---|
| private final HttpResponseFactory responseFactory | |
| HttpResponseParser | back to summary |
|---|---|
| public HttpResponseParser(final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params)
Deprecated as a consequence of Creates an instance of this class.
| |
| parseHead | back to summary |
|---|---|
| protected HttpMessage parseHead(final SessionInputBuffer sessionBuffer) throws IOException, HttpException, ParseException Implements abstract 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
| |