Top Description Fields Constructors Methods
org.apache.hc.core5.http.impl.nio

public Class DefaultHttpResponseWriterFactory

extends Object
implements NHttpMessageWriterFactory<HttpResponse>
Class Inheritance
All Implemented Interfaces
org.apache.hc.core5.http.nio.NHttpMessageWriterFactory
Annotations
@Contract
threading:IMMUTABLE_CONDITIONAL
Imports
org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.HttpResponse, org.apache.hc.core5.http.message.BasicLineFormatter, .LineFormatter, org.apache.hc.core5.http.nio.NHttpMessageWriter, .NHttpMessageWriterFactory

Default factory for response message writers.
Since
4.3

Field Summary

Modifier and TypeField and Description
public static final DefaultHttpResponseWriterFactory
private final LineFormatter

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public NHttpMessageWriter<HttpResponse>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final DefaultHttpResponseWriterFactory INSTANCE
lineFormatterback to summary
private final LineFormatter lineFormatter

Constructor Detail

DefaultHttpResponseWriterFactoryback to summary
public DefaultHttpResponseWriterFactory(final LineFormatter lineFormatter)
DefaultHttpResponseWriterFactoryback to summary
public DefaultHttpResponseWriterFactory()

Method Detail

createback to summary
public NHttpMessageWriter<HttpResponse> create()

Implements org.apache.hc.core5.http.nio.NHttpMessageWriterFactory.create.

Annotations
@Override