Package org.apache.http.impl.nio.codecs
Class DefaultHttpResponseParserFactory
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.DefaultHttpResponseParserFactory
-
- All Implemented Interfaces:
NHttpMessageParserFactory<org.apache.http.HttpResponse>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpResponseParserFactory extends java.lang.Object implements NHttpMessageParserFactory<org.apache.http.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(org.apache.http.message.LineParser lineParser, org.apache.http.HttpResponseFactory responseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NHttpMessageParser<org.apache.http.HttpResponse>
create(SessionInputBuffer buffer, org.apache.http.config.MessageConstraints constraints)
-
-
-
Field Detail
-
INSTANCE
public static final DefaultHttpResponseParserFactory INSTANCE
-
-
Method Detail
-
create
public NHttpMessageParser<org.apache.http.HttpResponse> create(SessionInputBuffer buffer, org.apache.http.config.MessageConstraints constraints)
- Specified by:
create
in interfaceNHttpMessageParserFactory<org.apache.http.HttpResponse>
-
-