Package org.apache.http.impl.nio.codecs
Class DefaultHttpRequestWriterFactory
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.DefaultHttpRequestWriterFactory
-
- All Implemented Interfaces:
NHttpMessageWriterFactory<HttpRequest>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpRequestWriterFactory extends java.lang.Object implements NHttpMessageWriterFactory<HttpRequest>
Default factory for request message writers.- Since:
- 4.3
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultHttpRequestWriterFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultHttpRequestWriterFactory()
DefaultHttpRequestWriterFactory(LineFormatter lineFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NHttpMessageWriter<HttpRequest>
create(SessionOutputBuffer buffer)
-
-
-
Field Detail
-
INSTANCE
public static final DefaultHttpRequestWriterFactory INSTANCE
-
-
Constructor Detail
-
DefaultHttpRequestWriterFactory
public DefaultHttpRequestWriterFactory(LineFormatter lineFormatter)
-
DefaultHttpRequestWriterFactory
public DefaultHttpRequestWriterFactory()
-
-
Method Detail
-
create
public NHttpMessageWriter<HttpRequest> create(SessionOutputBuffer buffer)
- Specified by:
create
in interfaceNHttpMessageWriterFactory<HttpRequest>
-
-