Package org.apache.http.impl.nio.codecs
Class DefaultHttpRequestParserFactory
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.DefaultHttpRequestParserFactory
-
- All Implemented Interfaces:
NHttpMessageParserFactory<HttpRequest>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpRequestParserFactory extends Object implements NHttpMessageParserFactory<HttpRequest>
Default factory for request message parsers.- Since:
- 4.3
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultHttpRequestParserFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultHttpRequestParserFactory()
DefaultHttpRequestParserFactory(LineParser lineParser, HttpRequestFactory requestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NHttpMessageParser<HttpRequest>
create(SessionInputBuffer buffer, MessageConstraints constraints)
-
-
-
Field Detail
-
INSTANCE
public static final DefaultHttpRequestParserFactory INSTANCE
-
-
Constructor Detail
-
DefaultHttpRequestParserFactory
public DefaultHttpRequestParserFactory(LineParser lineParser, HttpRequestFactory requestFactory)
-
DefaultHttpRequestParserFactory
public DefaultHttpRequestParserFactory()
-
-
Method Detail
-
create
public NHttpMessageParser<HttpRequest> create(SessionInputBuffer buffer, MessageConstraints constraints)
- Specified by:
create
in interfaceNHttpMessageParserFactory<HttpRequest>
-
-