Package org.apache.http.impl.nio.codecs
Class HttpRequestParser
java.lang.Object
org.apache.http.impl.nio.codecs.AbstractMessageParser
org.apache.http.impl.nio.codecs.HttpRequestParser
- All Implemented Interfaces:
NHttpMessageParser
Deprecated.
Default
NHttpMessageParser
implementation
for HttpRequest
s.
The following parameters can be used to customize the behavior of this class:
- Since:
- 4.0
-
Field Summary
FieldsFields inherited from class org.apache.http.impl.nio.codecs.AbstractMessageParser
lineParser
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestParser
(SessionInputBuffer buffer, LineParser parser, HttpRequestFactory requestFactory, HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpMessage
createMessage
(CharArrayBuffer buffer) Deprecated.CreatesHttpMessage
instance based on the content of the input buffer containing the first line of the incoming HTTP message.Methods inherited from class org.apache.http.impl.nio.codecs.AbstractMessageParser
fillBuffer, parse, reset
-
Field Details
-
requestFactory
Deprecated.
-
-
Constructor Details
-
HttpRequestParser
public HttpRequestParser(SessionInputBuffer buffer, LineParser parser, HttpRequestFactory requestFactory, HttpParams params) Deprecated.
-
-
Method Details
-
createMessage
Deprecated.Description copied from class:AbstractMessageParser
CreatesHttpMessage
instance based on the content of the input buffer containing the first line of the incoming HTTP message.- Specified by:
createMessage
in classAbstractMessageParser
- Parameters:
buffer
- the line buffer.- Returns:
- HTTP message.
- Throws:
HttpException
- in case of HTTP protocol violationParseException
- in case of a parse error.
-
DefaultHttpRequestParser