Deprecated
(4.2) use DefaultHttpRequestParser
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 HttpRequestFactory |
| Access | Constructor and Description |
|---|---|
| public | HttpRequestParser(final SessionInputBuffer
the session input buffer. buffer, final LineParser the line parser. parser, final HttpRequestFactory the factory to use to create
requestFactory, 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 | |
| requestFactory | back to summary |
|---|---|
| private final HttpRequestFactory requestFactory | |
| HttpRequestParser | back to summary |
|---|---|
| public HttpRequestParser(final SessionInputBuffer buffer, final LineParser parser, final HttpRequestFactory requestFactory, 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
| |