DefaultHttpRequestParser@Deprecated public class HttpRequestParser extends AbstractMessageParser
NHttpMessageParser implementation
for HttpRequests.
The following parameters can be used to customize the behavior of this class:
lineParser| Constructor and Description |
|---|
HttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpMessage |
createMessage(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, LineParser parser, HttpRequestFactory requestFactory, HttpParams params)
protected HttpMessage createMessage(CharArrayBuffer buffer) throws HttpException, 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.HttpException - in case of HTTP protocol violationParseException - in case of a parse error.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.