类 HttpClientManager


  • public final class HttpClientManager
    extends java.lang.Object
    http client manager.
    作者:
    mai.jh
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private static org.slf4j.Logger LOGGER  
      private static com.alibaba.nacos.common.http.client.NacosAsyncRestTemplate NACOS_ASYNC_REST_TEMPLATE  
      private static com.alibaba.nacos.common.http.client.NacosRestTemplate NACOS_REST_TEMPLATE  
      private static int TIMEOUT
      Connection timeout and socket timeout with other servers.
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static com.alibaba.nacos.common.http.client.NacosAsyncRestTemplate getNacosAsyncRestTemplate()  
      static com.alibaba.nacos.common.http.client.NacosRestTemplate getNacosRestTemplate()  
      private static void shutdown()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • TIMEOUT

        private static final int TIMEOUT
        Connection timeout and socket timeout with other servers.
        另请参阅:
        常量字段值
      • NACOS_REST_TEMPLATE

        private static final com.alibaba.nacos.common.http.client.NacosRestTemplate NACOS_REST_TEMPLATE
      • NACOS_ASYNC_REST_TEMPLATE

        private static final com.alibaba.nacos.common.http.client.NacosAsyncRestTemplate NACOS_ASYNC_REST_TEMPLATE
    • 构造器详细资料

      • HttpClientManager

        public HttpClientManager()
    • 方法详细资料

      • getNacosRestTemplate

        public static com.alibaba.nacos.common.http.client.NacosRestTemplate getNacosRestTemplate()
      • getNacosAsyncRestTemplate

        public static com.alibaba.nacos.common.http.client.NacosAsyncRestTemplate getNacosAsyncRestTemplate()
      • shutdown

        private static void shutdown()