Package | Description |
---|---|
org.mule.runtime.http.api.client |
Modifier and Type | Method and Description |
---|---|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setClientSocketProperties(TcpClientSocketProperties clientSocketProperties)
Optionally defines TCP specific properties like the socket connection timeout, for example, via a
TcpClientSocketProperties . |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setConnectionIdleTimeout(int connectionIdleTimeout)
Defines the number of milliseconds that a connection can remain idle before being closed.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setMaxConnections(int maxConnections)
Defines the maximum number of outbound connections that will be kept open at the same time.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setName(String name)
Defines the name of the
HttpClient . |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setProxyConfig(ProxyConfig proxyConfig)
Required when connecting through a proxy, this defines the relevant data to do so using a
ProxyConfig . |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setResponseBufferSize(int responseBufferSize)
Defines the size of the buffer in bytes used to store the HTTP response, the default value is 10KB.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setStreaming(boolean streaming)
Defines whether the HTTP response should be streamed, meaning processing will continue as soon as all headers are parsed and
the body populated as it arrives.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setTlsContextFactory(TlsContextFactory tlsContextFactory)
Required exclusively for HTTPS, this defines through a
TlsContextFactory all the TLS related data to establish
such connections. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setUsePersistentConnections(boolean usePersistentConnections)
Defines if connections should be kept after a request is completed or closed.
|
Copyright © 2018. All rights reserved.