DefaultHttpRequestParser
@Deprecated public class HttpRequestParser extends AbstractMessageParser
NHttpMessageParser
implementation
for HttpRequest
s.
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, reset
public HttpRequestParser(SessionInputBuffer buffer, LineParser parser, HttpRequestFactory requestFactory, HttpParams params)
protected HttpMessage createMessage(CharArrayBuffer buffer) throws HttpException, ParseException
AbstractMessageParser
HttpMessage
instance based on the content of the input
buffer containing the first line of the incoming HTTP message.createMessage
in class AbstractMessageParser
buffer
- 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.