Class ManagedHttpClientConnectionFactory.Builder
java.lang.Object
org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.Builder
- Enclosing class:
ManagedHttpClientConnectionFactory
Builder for
ManagedHttpClientConnectionFactory
.- Since:
- 5.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hc.core5.http.config.CharCodingConfig
private org.apache.hc.core5.http.config.Http1Config
private org.apache.hc.core5.http.ContentLengthStrategy
private org.apache.hc.core5.http.ContentLengthStrategy
private org.apache.hc.core5.http.io.HttpMessageWriterFactory
<org.apache.hc.core5.http.ClassicHttpRequest> private org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy
private org.apache.hc.core5.http.io.HttpMessageParserFactory
<org.apache.hc.core5.http.ClassicHttpResponse> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
charCodingConfig
(org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) http1Config
(org.apache.hc.core5.http.config.Http1Config http1Config) incomingContentLengthStrategy
(org.apache.hc.core5.http.ContentLengthStrategy incomingContentLengthStrategy) outgoingContentLengthStrategy
(org.apache.hc.core5.http.ContentLengthStrategy outgoingContentLengthStrategy) requestWriterFactory
(org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory) responseOutOfOrderStrategy
(org.apache.hc.core5.http.io.ResponseOutOfOrderStrategy responseOutOfOrderStrategy) responseParserFactory
(org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory)
-
Field Details
-
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
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
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
-