Deprecated
(4.2) use DefaultHttpResponseParser
The following parameters can be used to customize the behavior of this class:
| Modifier and Type | Field and Description |
|---|---|
| private final CharArrayBuffer | |
| private final Log | |
| private final int | |
| private final HttpResponseFactory |
| Access | Constructor and Description |
|---|---|
| public | DefaultResponseParser(final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params)
Deprecated
as a consequence of
HttpParams being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected int | getMaxGarbageLines(final HttpParams params)
Deprecated
as a consequence of
HttpParams being deprecated.
|
| 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 | |
| log | back to summary |
|---|---|
| private final Log log | |
| maxGarbageLines | back to summary |
|---|---|
| private final int maxGarbageLines | |
| responseFactory | back to summary |
|---|---|
| private final HttpResponseFactory responseFactory | |
| DefaultResponseParser | back to summary |
|---|---|
| public DefaultResponseParser(final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params)
Deprecated as a consequence of | |
| getMaxGarbageLines | back to summary |
|---|---|
| protected int getMaxGarbageLines(final HttpParams params)
Deprecated as a consequence of | |
| parseHead | back to summary |
|---|---|
| protected HttpMessage parseHead(final SessionInputBuffer sessionBuffer) throws IOException, HttpException 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
| |