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