Class ManagedHttpClientConnectionFactory.Builder
- java.lang.Object
-
- org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.Builder
-
- Enclosing class:
- ManagedHttpClientConnectionFactory
public static final class ManagedHttpClientConnectionFactory.Builder extends java.lang.ObjectBuilder forManagedHttpClientConnectionFactory.- Since:
- 5.1
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.hc.core5.http.config.CharCodingConfigcharCodingConfigprivate org.apache.hc.core5.http.config.Http1Confighttp1Configprivate org.apache.hc.core5.http.ContentLengthStrategyincomingContentLengthStrategyprivate org.apache.hc.core5.http.ContentLengthStrategyoutgoingContentLengthStrategyprivate org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest>requestWriterFactoryprivate org.apache.hc.core5.http.io.ResponseOutOfOrderStrategyresponseOutOfOrderStrategyprivate org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse>responseParserFactory
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedHttpClientConnectionFactorybuild()ManagedHttpClientConnectionFactory.BuildercharCodingConfig(org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig)ManagedHttpClientConnectionFactory.Builderhttp1Config(org.apache.hc.core5.http.config.Http1Config http1Config)ManagedHttpClientConnectionFactory.BuilderincomingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy incomingContentLengthStrategy)ManagedHttpClientConnectionFactory.BuilderoutgoingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy outgoingContentLengthStrategy)ManagedHttpClientConnectionFactory.BuilderrequestWriterFactory(org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory)ManagedHttpClientConnectionFactory.BuilderresponseOutOfOrderStrategy(org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy responseOutOfOrderStrategy)ManagedHttpClientConnectionFactory.BuilderresponseParserFactory(org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory)
-
-
-
Field Detail
-
http1Config
private org.apache.hc.core5.http.config.Http1Config http1Config
-
charCodingConfig
private org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig
-
incomingContentLengthStrategy
private org.apache.hc.core5.http.ContentLengthStrategy incomingContentLengthStrategy
-
outgoingContentLengthStrategy
private org.apache.hc.core5.http.ContentLengthStrategy outgoingContentLengthStrategy
-
responseOutOfOrderStrategy
private org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy responseOutOfOrderStrategy
-
requestWriterFactory
private org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory
-
responseParserFactory
private org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory
-
-
Method Detail
-
http1Config
public ManagedHttpClientConnectionFactory.Builder http1Config(org.apache.hc.core5.http.config.Http1Config http1Config)
-
charCodingConfig
public ManagedHttpClientConnectionFactory.Builder charCodingConfig(org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig)
-
incomingContentLengthStrategy
public ManagedHttpClientConnectionFactory.Builder incomingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy incomingContentLengthStrategy)
-
outgoingContentLengthStrategy
public ManagedHttpClientConnectionFactory.Builder outgoingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy outgoingContentLengthStrategy)
-
responseOutOfOrderStrategy
public ManagedHttpClientConnectionFactory.Builder responseOutOfOrderStrategy(org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy responseOutOfOrderStrategy)
-
requestWriterFactory
public ManagedHttpClientConnectionFactory.Builder requestWriterFactory(org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory)
-
responseParserFactory
public ManagedHttpClientConnectionFactory.Builder responseParserFactory(org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory)
-
build
public ManagedHttpClientConnectionFactory build()
-
-