public interface HttpClientFactory
HttpClient.| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.client.HttpClient |
create(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig) |
static HttpClientFactory |
getDefault(org.mule.runtime.http.api.HttpService httpService)
Provides a default implementation of the
HttpClientFactory |
static HttpClientFactory getDefault(org.mule.runtime.http.api.HttpService httpService)
HttpClientFactoryhttpService - the HttpService needed to create a new HttpClient instanceHttpClientFactoryorg.mule.runtime.http.api.client.HttpClient create(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
tlsContextFactory - the TlsContextFactory required exclusively for HTTPSproxyConfig - the ProxyConfig required when connecting through a proxy,HttpClient based on the tlsContextFactory and proxyConfig.Copyright © 2024. All rights reserved.