Package org.apache.http.impl.nio.codecs
Class DefaultHttpResponseParser
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.AbstractMessageParser<HttpResponse>
-
- org.apache.http.impl.nio.codecs.DefaultHttpResponseParser
-
- All Implemented Interfaces:
NHttpMessageParser<HttpResponse>
public class DefaultHttpResponseParser extends AbstractMessageParser<HttpResponse>
DefaultNHttpMessageParser
implementation forHttpResponse
s.- Since:
- 4.1
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpResponseParser(SessionInputBuffer buffer)
DefaultHttpResponseParser(SessionInputBuffer buffer, MessageConstraints constraints)
DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, MessageConstraints constraints)
Creates an instance of DefaultHttpResponseParser.DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
-
Method Summary
-
Methods inherited from class org.apache.http.impl.nio.codecs.AbstractMessageParser
fillBuffer, parse, reset
-
-
-
-
Constructor Detail
-
DefaultHttpResponseParser
@Deprecated public DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
-
DefaultHttpResponseParser
public DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, MessageConstraints constraints)
Creates an instance of DefaultHttpResponseParser.- Parameters:
buffer
- the session input buffer.parser
- the line parser. Ifnull
BasicLineParser.INSTANCE
will be used.responseFactory
- the response factory. Ifnull
DefaultHttpResponseFactory.INSTANCE
will be used.constraints
- Message constraints. Ifnull
MessageConstraints.DEFAULT
will be used.- Since:
- 4.3
-
DefaultHttpResponseParser
public DefaultHttpResponseParser(SessionInputBuffer buffer, MessageConstraints constraints)
- Since:
- 4.3
-
DefaultHttpResponseParser
public DefaultHttpResponseParser(SessionInputBuffer buffer)
- Since:
- 4.3
-
-