Package org.apache.http.impl.io
Class DefaultHttpResponseParserFactory
- java.lang.Object
-
- org.apache.http.impl.io.DefaultHttpResponseParserFactory
-
- All Implemented Interfaces:
HttpMessageParserFactory<HttpResponse>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpResponseParserFactory extends Object implements HttpMessageParserFactory<HttpResponse>
Default factory for response message parsers.- Since:
- 4.3
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultHttpResponseParserFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultHttpResponseParserFactory()
DefaultHttpResponseParserFactory(LineParser lineParser, HttpResponseFactory responseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMessageParser<HttpResponse>
create(SessionInputBuffer buffer, MessageConstraints constraints)
-
-
-
Field Detail
-
INSTANCE
public static final DefaultHttpResponseParserFactory INSTANCE
-
-
Constructor Detail
-
DefaultHttpResponseParserFactory
public DefaultHttpResponseParserFactory(LineParser lineParser, HttpResponseFactory responseFactory)
-
DefaultHttpResponseParserFactory
public DefaultHttpResponseParserFactory()
-
-
Method Detail
-
create
public HttpMessageParser<HttpResponse> create(SessionInputBuffer buffer, MessageConstraints constraints)
- Specified by:
create
in interfaceHttpMessageParserFactory<HttpResponse>
-
-