public class DefaultHttpClientFactory extends Object implements HttpClientFactory
HttpClientFactory that cache created HttpClient.| Constructor and Description |
|---|
DefaultHttpClientFactory(org.mule.runtime.http.api.HttpService httpService) |
| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultpublic DefaultHttpClientFactory(org.mule.runtime.http.api.HttpService httpService)
public org.mule.runtime.http.api.client.HttpClient create(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
create in interface HttpClientFactorytlsContextFactory - the TlsContextFactory required exclusively for HTTPSproxyConfig - the ProxyConfig required when connecting through a proxy,HttpClient based on the tlsContextFactory and proxyConfig.Copyright © 2022. All rights reserved.