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

public Class DefaultHttpResponseParserFactory

extends Object
implements NHttpMessageParserFactory<HttpResponse>
Class Inheritance
All Implemented Interfaces
org.apache.hc.core5.http.nio.NHttpMessageParserFactory
Annotations
@Contract
threading:IMMUTABLE_CONDITIONAL
Imports
org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.HttpResponse, .HttpResponseFactory, org.apache.hc.core5.http.config.Http1Config, org.apache.hc.core5.http.message.LazyLaxLineParser, .LineParser, org.apache.hc.core5.http.nio.NHttpMessageParser, .NHttpMessageParserFactory

Default factory for response message parsers.
Since
4.3

Field Summary

Modifier and TypeField and Description
private final Http1Config
public static final DefaultHttpResponseParserFactory
private final LineParser
private final HttpResponseFactory<HttpResponse>

Constructor Summary

AccessConstructor and Description
public
DefaultHttpResponseParserFactory(final Http1Config http1Config, final HttpResponseFactory<HttpResponse> responseFactory, final LineParser lineParser)

public
public

Method Summary

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

Field Detail

http1Configback to summary
private final Http1Config http1Config
INSTANCEback to summary
public static final DefaultHttpResponseParserFactory INSTANCE
lineParserback to summary
private final LineParser lineParser
responseFactoryback to summary
private final HttpResponseFactory<HttpResponse> responseFactory

Constructor Detail

DefaultHttpResponseParserFactoryback to summary
public DefaultHttpResponseParserFactory(final Http1Config http1Config, final HttpResponseFactory<HttpResponse> responseFactory, final LineParser lineParser)
DefaultHttpResponseParserFactoryback to summary
public DefaultHttpResponseParserFactory(final Http1Config http1Config)
DefaultHttpResponseParserFactoryback to summary
public DefaultHttpResponseParserFactory()

Method Detail

createback to summary
public NHttpMessageParser<HttpResponse> create()

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

Annotations
@Override