Package org.apache.http.impl.nio.codecs
Class HttpResponseParser
java.lang.Object
org.apache.http.impl.nio.codecs.AbstractMessageParser
org.apache.http.impl.nio.codecs.HttpResponseParser
- All Implemented Interfaces:
NHttpMessageParser
Deprecated.
Default
NHttpMessageParser
implementation
for HttpResponse
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
ConstructorsConstructorDescriptionHttpResponseParser
(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, 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
-
responseFactory
Deprecated.
-
-
Constructor Details
-
HttpResponseParser
public HttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, 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.
-
DefaultHttpResponseParser