Package org.apache.http.impl.nio.codecs
Class DefaultHttpResponseWriterFactory
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.DefaultHttpResponseWriterFactory
-
- All Implemented Interfaces:
NHttpMessageWriterFactory<HttpResponse>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpResponseWriterFactory extends java.lang.Object implements NHttpMessageWriterFactory<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 NHttpMessageWriter<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 NHttpMessageWriter<HttpResponse> create(SessionOutputBuffer buffer)
- Specified by:
create
in interfaceNHttpMessageWriterFactory<HttpResponse>
-
-