Package org.apache.http.impl.io
Class DefaultHttpRequestWriterFactory
- java.lang.Object
-
- org.apache.http.impl.io.DefaultHttpRequestWriterFactory
-
- All Implemented Interfaces:
HttpMessageWriterFactory<HttpRequest>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpRequestWriterFactory extends java.lang.Object implements HttpMessageWriterFactory<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 HttpMessageWriter<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 HttpMessageWriter<HttpRequest> create(SessionOutputBuffer buffer)
- Specified by:
create
in interfaceHttpMessageWriterFactory<HttpRequest>
-
-