@Component
@ConfigurationProperties(prefix="forest",
ignoreUnknownFields=true)
public class ForestConfigurationProperties
extends Object
| 构造器和说明 |
|---|
ForestConfigurationProperties() |
public String getBeanId()
public void setBeanId(String beanId)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public int getMaxRouteConnections()
public void setMaxRouteConnections(int maxRouteConnections)
public int getMaxAsyncThreadSize()
public void setMaxAsyncThreadSize(int maxAsyncThreadSize)
public int getTimeout()
public void setTimeout(int timeout)
public Integer getConnectTimeout()
public Integer getConnectTimeoutMillis()
public void setConnectTimeout(Integer connectTimeout)
public Integer getReadTimeout()
public Integer getReadTimeoutMillis()
public void setReadTimeout(Integer readTimeout)
public String getCharset()
public void setCharset(String charset)
public String getBaseAddressScheme()
public void setBaseAddressScheme(String baseAddressScheme)
public String getBaseAddressHost()
public void setBaseAddressHost(String baseAddressHost)
public Integer getBaseAddressPort()
public void setBaseAddressPort(Integer baseAddressPort)
public Class<? extends AddressSource> getBaseAddressSource()
public void setBaseAddressSource(Class<? extends AddressSource> baseAddressSource)
public Class getRetryer()
public void setRetryer(Class retryer)
@Deprecated public int getRetryCount()
@Deprecated public void setRetryCount(int retryCount)
public int getMaxRetryCount()
public void setMaxRetryCount(int retryCount)
public long getMaxRetryInterval()
public void setMaxRetryInterval(long maxRetryInterval)
public boolean isAutoRedirection()
public void setAutoRedirection(boolean autoRedirection)
public boolean isLogEnabled()
public void setLogEnabled(boolean logEnabled)
public boolean isLogRequest()
public void setLogRequest(boolean logRequest)
public boolean isLogResponseStatus()
public void setLogResponseStatus(boolean logResponseStatus)
public boolean isLogResponseContent()
public void setLogResponseContent(boolean logResponseContent)
public Class<? extends ForestLogHandler> getLogHandler()
public void setLogHandler(Class<? extends ForestLogHandler> logHandler)
public String getSslProtocol()
public void setSslProtocol(String sslProtocol)
public String getBackend()
public void setBackend(String backend)
public List<Class<? extends Interceptor>> getInterceptors()
public void setInterceptors(List<Class<? extends Interceptor>> interceptors)
public Class<? extends SuccessWhen> getSuccessWhen()
public void setSuccessWhen(Class<? extends SuccessWhen> successWhen)
public List<ForestSSLKeyStoreProperties> getSslKeyStores()
public void setSslKeyStores(List<ForestSSLKeyStoreProperties> sslKeyStores)
public ForestConvertProperties getConverters()
public void setConverters(ForestConvertProperties converters)
Copyright © 2021. All rights reserved.