类 AbstractHttpClientFactory
java.lang.Object
com.alibaba.nacos.common.http.AbstractHttpClientFactory
- 所有已实现的接口:
HttpClientFactory
AbstractHttpClientFactory Let the creator only specify the http client config.
- 作者:
- mai.jh
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract org.slf4j.Loggerassign Logger.protected abstract HttpClientConfigbuild http client config.create new nacos async rest.create new nacost rest.protected org.apache.http.impl.nio.reactor.IOReactorConfigprotected org.apache.http.client.config.RequestConfigprotected voidinitTls(BiConsumer<SSLContext,HostnameVerifier> initTlsBiFunc, TlsFileWatcher.FileChangeListener tlsChangeListener)protected SSLContext
-
构造器详细资料
-
AbstractHttpClientFactory
public AbstractHttpClientFactory()
-
-
方法详细资料
-
createNacosRestTemplate
从接口复制的说明:HttpClientFactorycreate new nacost rest.- 指定者:
createNacosRestTemplate在接口中HttpClientFactory- 返回:
- NacosRestTemplate
-
createNacosAsyncRestTemplate
从接口复制的说明:HttpClientFactorycreate new nacos async rest.- 指定者:
createNacosAsyncRestTemplate在接口中HttpClientFactory- 返回:
- NacosAsyncRestTemplate
-
getIoReactorConfig
protected org.apache.http.impl.nio.reactor.IOReactorConfig getIoReactorConfig() -
getRequestConfig
protected org.apache.http.client.config.RequestConfig getRequestConfig() -
initTls
protected void initTls(BiConsumer<SSLContext,HostnameVerifier> initTlsBiFunc, TlsFileWatcher.FileChangeListener tlsChangeListener) -
loadSSLContext
-
buildHttpClientConfig
build http client config.- 返回:
- HttpClientConfig
-
assignLogger
protected abstract org.slf4j.Logger assignLogger()assign Logger.- 返回:
- Logger
-