public class ForestConfigurationProperties extends Object
| 构造器和说明 |
|---|
ForestConfigurationProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.dtflys.forest.http.ForestAsyncMode |
getAsyncMode() |
String |
getBackend() |
String |
getBaseAddressHost() |
Integer |
getBaseAddressPort() |
String |
getBaseAddressScheme() |
Class<? extends com.dtflys.forest.callback.AddressSource> |
getBaseAddressSource() |
String |
getBeanId() |
String |
getCharset() |
Integer |
getConnectTimeout() |
Integer |
getConnectTimeoutMillis() |
ForestConvertProperties |
getConverters() |
Map<String,Class> |
getFilters() |
List<Class<? extends com.dtflys.forest.interceptor.Interceptor>> |
getInterceptors() |
Class<? extends com.dtflys.forest.logging.ForestLogHandler> |
getLogHandler() |
int |
getMaxAsyncQueueSize() |
int |
getMaxAsyncThreadSize() |
int |
getMaxConnections() |
int |
getMaxRequestQueueSize() |
int |
getMaxRetryCount() |
long |
getMaxRetryInterval() |
int |
getMaxRouteConnections() |
Integer |
getReadTimeout() |
Integer |
getReadTimeoutMillis() |
int |
getRetryCount()
已过时。
|
Class |
getRetryer() |
Class<? extends com.dtflys.forest.callback.RetryWhen> |
getRetryWhen() |
List<ForestSSLKeyStoreProperties> |
getSslKeyStores() |
String |
getSslProtocol() |
Class<? extends com.dtflys.forest.callback.SuccessWhen> |
getSuccessWhen() |
int |
getTimeout() |
Map<String,Object> |
getVariables() |
boolean |
isAutoRedirection() |
boolean |
isLogEnabled() |
boolean |
isLogRequest() |
boolean |
isLogResponseContent() |
boolean |
isLogResponseStatus() |
void |
setAsyncMode(com.dtflys.forest.http.ForestAsyncMode asyncMode) |
void |
setAutoRedirection(boolean autoRedirection) |
void |
setBackend(String backend) |
void |
setBaseAddressHost(String baseAddressHost) |
void |
setBaseAddressPort(Integer baseAddressPort) |
void |
setBaseAddressScheme(String baseAddressScheme) |
void |
setBaseAddressSource(Class<? extends com.dtflys.forest.callback.AddressSource> baseAddressSource) |
void |
setBeanId(String beanId) |
void |
setCharset(String charset) |
void |
setConnectTimeout(Integer connectTimeout) |
void |
setConverters(ForestConvertProperties converters) |
void |
setFilters(Map<String,Class> filters) |
void |
setInterceptors(List<Class<? extends com.dtflys.forest.interceptor.Interceptor>> interceptors) |
void |
setLogEnabled(boolean logEnabled) |
void |
setLogHandler(Class<? extends com.dtflys.forest.logging.ForestLogHandler> logHandler) |
void |
setLogRequest(boolean logRequest) |
void |
setLogResponseContent(boolean logResponseContent) |
void |
setLogResponseStatus(boolean logResponseStatus) |
void |
setMaxAsyncQueueSize(int maxAsyncQueueSize) |
void |
setMaxAsyncThreadSize(int maxAsyncThreadSize) |
void |
setMaxConnections(int maxConnections) |
void |
setMaxRequestQueueSize(int maxRequestQueueSize) |
void |
setMaxRetryCount(int retryCount) |
void |
setMaxRetryInterval(long maxRetryInterval) |
void |
setMaxRouteConnections(int maxRouteConnections) |
void |
setReadTimeout(Integer readTimeout) |
void |
setRetryCount(int retryCount)
已过时。
|
void |
setRetryer(Class retryer) |
void |
setRetryWhen(Class<? extends com.dtflys.forest.callback.RetryWhen> retryWhen) |
void |
setSslKeyStores(List<ForestSSLKeyStoreProperties> sslKeyStores) |
void |
setSslProtocol(String sslProtocol) |
void |
setSuccessWhen(Class<? extends com.dtflys.forest.callback.SuccessWhen> successWhen) |
void |
setTimeout(int timeout) |
void |
setVariables(Map<String,Object> variables) |
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 getMaxRequestQueueSize()
public void setMaxRequestQueueSize(int maxRequestQueueSize)
public int getMaxAsyncThreadSize()
public void setMaxAsyncThreadSize(int maxAsyncThreadSize)
public int getMaxAsyncQueueSize()
public void setMaxAsyncQueueSize(int maxAsyncQueueSize)
public com.dtflys.forest.http.ForestAsyncMode getAsyncMode()
public void setAsyncMode(com.dtflys.forest.http.ForestAsyncMode asyncMode)
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 com.dtflys.forest.callback.AddressSource> getBaseAddressSource()
public void setBaseAddressSource(Class<? extends com.dtflys.forest.callback.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 com.dtflys.forest.logging.ForestLogHandler> getLogHandler()
public void setLogHandler(Class<? extends com.dtflys.forest.logging.ForestLogHandler> logHandler)
public String getSslProtocol()
public void setSslProtocol(String sslProtocol)
public String getBackend()
public void setBackend(String backend)
public List<Class<? extends com.dtflys.forest.interceptor.Interceptor>> getInterceptors()
public void setInterceptors(List<Class<? extends com.dtflys.forest.interceptor.Interceptor>> interceptors)
public Class<? extends com.dtflys.forest.callback.SuccessWhen> getSuccessWhen()
public void setSuccessWhen(Class<? extends com.dtflys.forest.callback.SuccessWhen> successWhen)
public Class<? extends com.dtflys.forest.callback.RetryWhen> getRetryWhen()
public void setRetryWhen(Class<? extends com.dtflys.forest.callback.RetryWhen> retryWhen)
public List<ForestSSLKeyStoreProperties> getSslKeyStores()
public void setSslKeyStores(List<ForestSSLKeyStoreProperties> sslKeyStores)
public ForestConvertProperties getConverters()
public void setConverters(ForestConvertProperties converters)
Copyright © 2024. All rights reserved.