Uses of Interface
org.mule.sdk.api.http.client.HttpClientConfigurer
Packages that use HttpClientConfigurer
-
Uses of HttpClientConfigurer in org.mule.sdk.api.http
Method parameters in org.mule.sdk.api.http with type arguments of type HttpClientConfigurerModifier and TypeMethodDescriptionHttpService.client(Consumer<HttpClientConfigurer> configCallback) Creates aHttpClient. -
Uses of HttpClientConfigurer in org.mule.sdk.api.http.client
Methods in org.mule.sdk.api.http.client that return HttpClientConfigurerModifier and TypeMethodDescriptionHttpClientConfigurer.configClientSocketProperties(Consumer<TcpSocketPropertiesConfigurer> configCallback) Optionally defines TCP specific properties like the socket connection timeout, for example, via aTcpSocketPropertiesConfigurer.HttpClientConfigurer.configHttp1(Consumer<Http1ProtocolConfigurer> configCallback) Allows enabling/disabling and configuring HTTP/1 specific parameters.HttpClientConfigurer.configHttp2(Consumer<Http2ProtocolConfigurer> configCallback) Allows enabling/disabling and configuring HTTP/2 specific parameters.HttpClientConfigurer.configProxy(Consumer<ProxyConfigurer> configCallback) Required when connecting through a proxy, this defines the relevant data to do so using aProxyConfigurer.HttpClientConfigurer.setConnectionIdleTimeout(int connectionIdleTimeout) Defines the number of milliseconds that a connection can remain idle before being closed.HttpClientConfigurer.setDecompress(Boolean decompress) Defines whether responses should be decompressed automatically by theHttpClient,falseby default.HttpClientConfigurer.setMaxConnections(int maxConnections) Defines the maximum number of outbound connections that will be kept open at the same time.Defines the name of theHttpClient.HttpClientConfigurer.setResponseBufferSize(int responseBufferSize) Defines the size of the buffer in bytes used to store the HTTP response, the default value is 10KB.HttpClientConfigurer.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.HttpClientConfigurer.setTlsContextFactory(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) Required exclusively for HTTPS, this defines through aTlsContextFactoryall the TLS related data to establish such connections.HttpClientConfigurer.setUsePersistentConnections(boolean usePersistentConnections) Defines if connections should be kept after a request is completed or closed.