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.Object
Builder forManagedHttpClientConnectionFactory
.- Since:
- 5.1
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.hc.core5.http.config.CharCodingConfig
charCodingConfig
private org.apache.hc.core5.http.config.Http1Config
http1Config
private org.apache.hc.core5.http.ContentLengthStrategy
incomingContentLengthStrategy
private org.apache.hc.core5.http.ContentLengthStrategy
outgoingContentLengthStrategy
private org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest>
requestWriterFactory
private org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy
responseOutOfOrderStrategy
private org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse>
responseParserFactory
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedHttpClientConnectionFactory
build()
ManagedHttpClientConnectionFactory.Builder
charCodingConfig(org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig)
ManagedHttpClientConnectionFactory.Builder
http1Config(org.apache.hc.core5.http.config.Http1Config http1Config)
ManagedHttpClientConnectionFactory.Builder
incomingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy incomingContentLengthStrategy)
ManagedHttpClientConnectionFactory.Builder
outgoingContentLengthStrategy(org.apache.hc.core5.http.ContentLengthStrategy outgoingContentLengthStrategy)
ManagedHttpClientConnectionFactory.Builder
requestWriterFactory(org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory)
ManagedHttpClientConnectionFactory.Builder
responseOutOfOrderStrategy(org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy responseOutOfOrderStrategy)
ManagedHttpClientConnectionFactory.Builder
responseParserFactory(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()
-
-