NHttpMessageParserDefaultHttpRequestParser@Deprecated public class HttpRequestParser extends AbstractMessageParser
NHttpMessageParser implementation
for HttpRequests.
The following parameters can be used to customize the behavior of this class:
CoreConnectionPNames.MAX_HEADER_COUNTCoreConnectionPNames.MAX_LINE_LENGTHlineParser| Constructor | Description |
|---|---|
HttpRequestParser(SessionInputBuffer buffer,
org.apache.http.message.LineParser parser,
org.apache.http.HttpRequestFactory requestFactory,
org.apache.http.params.HttpParams params) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.http.HttpMessage |
createMessage(org.apache.http.util.CharArrayBuffer buffer) |
Deprecated.
Creates
HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message. |
fillBuffer, parse, resetpublic HttpRequestParser(SessionInputBuffer buffer, org.apache.http.message.LineParser parser, org.apache.http.HttpRequestFactory requestFactory, org.apache.http.params.HttpParams params)
protected org.apache.http.HttpMessage createMessage(org.apache.http.util.CharArrayBuffer buffer)
throws org.apache.http.HttpException,
org.apache.http.ParseException
AbstractMessageParserHttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message.createMessage in class AbstractMessageParserbuffer - the line buffer.org.apache.http.HttpException - in case of HTTP protocol violationorg.apache.http.ParseException - in case of a parse error.