类 ForestConfigurationProperties

java.lang.Object
com.dtflys.forest.springboot.properties.ForestConfigurationProperties

@Component @Role(2) @ConfigurationProperties(prefix="forest", ignoreUnknownFields=true) public class ForestConfigurationProperties extends Object
  • 构造器详细资料

    • ForestConfigurationProperties

      public ForestConfigurationProperties()
  • 方法详细资料

    • getBeanId

      public String getBeanId()
    • setBeanId

      public void setBeanId(String beanId)
    • getMaxConnections

      public int getMaxConnections()
    • setMaxConnections

      public void setMaxConnections(int maxConnections)
    • getMaxRouteConnections

      public int getMaxRouteConnections()
    • setMaxRouteConnections

      public void setMaxRouteConnections(int maxRouteConnections)
    • getMaxRequestQueueSize

      public int getMaxRequestQueueSize()
    • setMaxRequestQueueSize

      public void setMaxRequestQueueSize(int maxRequestQueueSize)
    • getMaxAsyncThreadSize

      public int getMaxAsyncThreadSize()
    • setMaxAsyncThreadSize

      public void setMaxAsyncThreadSize(int maxAsyncThreadSize)
    • getMaxAsyncQueueSize

      public int getMaxAsyncQueueSize()
    • setMaxAsyncQueueSize

      public void setMaxAsyncQueueSize(int maxAsyncQueueSize)
    • getAsyncMode

      public ForestAsyncMode getAsyncMode()
    • setAsyncMode

      public void setAsyncMode(ForestAsyncMode asyncMode)
    • getTimeout

      public int getTimeout()
    • setTimeout

      public void setTimeout(int timeout)
    • getConnectTimeout

      public Integer getConnectTimeout()
    • getConnectTimeoutMillis

      public Integer getConnectTimeoutMillis()
    • setConnectTimeout

      public void setConnectTimeout(Integer connectTimeout)
    • getReadTimeout

      public Integer getReadTimeout()
    • getReadTimeoutMillis

      public Integer getReadTimeoutMillis()
    • setReadTimeout

      public void setReadTimeout(Integer readTimeout)
    • getCharset

      public String getCharset()
    • setCharset

      public void setCharset(String charset)
    • getBaseAddressScheme

      public String getBaseAddressScheme()
    • setBaseAddressScheme

      public void setBaseAddressScheme(String baseAddressScheme)
    • getBaseAddressHost

      public String getBaseAddressHost()
    • setBaseAddressHost

      public void setBaseAddressHost(String baseAddressHost)
    • getBaseAddressPort

      public Integer getBaseAddressPort()
    • setBaseAddressPort

      public void setBaseAddressPort(Integer baseAddressPort)
    • getBaseAddressSource

      public Class<? extends AddressSource> getBaseAddressSource()
    • setBaseAddressSource

      public void setBaseAddressSource(Class<? extends AddressSource> baseAddressSource)
    • getRetryer

      public Class getRetryer()
    • setRetryer

      public void setRetryer(Class retryer)
    • getRetryCount

      @Deprecated public int getRetryCount()
      已过时。
    • setRetryCount

      @Deprecated public void setRetryCount(int retryCount)
      已过时。
    • getMaxRetryCount

      public int getMaxRetryCount()
    • setMaxRetryCount

      public void setMaxRetryCount(int retryCount)
    • getMaxRetryInterval

      public long getMaxRetryInterval()
    • setMaxRetryInterval

      public void setMaxRetryInterval(long maxRetryInterval)
    • isAutoRedirection

      public boolean isAutoRedirection()
    • setAutoRedirection

      public void setAutoRedirection(boolean autoRedirection)
    • isLogEnabled

      public boolean isLogEnabled()
    • setLogEnabled

      public void setLogEnabled(boolean logEnabled)
    • isLogRequest

      public boolean isLogRequest()
    • setLogRequest

      public void setLogRequest(boolean logRequest)
    • isLogResponseStatus

      public boolean isLogResponseStatus()
    • setLogResponseStatus

      public void setLogResponseStatus(boolean logResponseStatus)
    • isLogResponseContent

      public boolean isLogResponseContent()
    • setLogResponseContent

      public void setLogResponseContent(boolean logResponseContent)
    • getLogHandler

      public Class<? extends ForestLogHandler> getLogHandler()
    • setLogHandler

      public void setLogHandler(Class<? extends ForestLogHandler> logHandler)
    • getSslProtocol

      public String getSslProtocol()
    • setSslProtocol

      public void setSslProtocol(String sslProtocol)
    • getBackend

      public String getBackend()
    • setBackend

      public void setBackend(String backend)
    • getBackendClientCacheMaxSize

      public Integer getBackendClientCacheMaxSize()
    • setBackendClientCacheMaxSize

      public void setBackendClientCacheMaxSize(Integer backendClientCacheMaxSize)
    • getBackendClientCacheExpireTime

      public Duration getBackendClientCacheExpireTime()
    • setBackendClientCacheExpireTime

      public void setBackendClientCacheExpireTime(Duration backendClientCacheExpireTime)
    • getVariables

      public Map<String,Object> getVariables()
    • setVariables

      public void setVariables(Map<String,Object> variables)
    • getInterceptors

      public List<Class<? extends Interceptor>> getInterceptors()
    • setInterceptors

      public void setInterceptors(List<Class<? extends Interceptor>> interceptors)
    • getSuccessWhen

      public Class<? extends SuccessWhen> getSuccessWhen()
    • setSuccessWhen

      public void setSuccessWhen(Class<? extends SuccessWhen> successWhen)
    • getRetryWhen

      public Class<? extends RetryWhen> getRetryWhen()
    • setRetryWhen

      public void setRetryWhen(Class<? extends RetryWhen> retryWhen)
    • getSslKeyStores

      public List<ForestSSLKeyStoreProperties> getSslKeyStores()
    • setSslKeyStores

      public void setSslKeyStores(List<ForestSSLKeyStoreProperties> sslKeyStores)
    • getConverters

      public ForestConvertProperties getConverters()
    • setConverters

      public void setConverters(ForestConvertProperties converters)
    • getFilters

      public Map<String,Class> getFilters()
    • setFilters

      public void setFilters(Map<String,Class> filters)