Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpBackend.init(ForestConfiguration configuration) |
void |
HttpBackend.init(ForestConfiguration configuration) |
void |
ForestConnectionManager.init(ForestConfiguration configuration) |
HttpBackend |
HttpBackendSelector.select(ForestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBodyBuilder.processFormArrayItem(List<RequestNameValue> newNameValueList,
ForestConfiguration configuration,
String name,
Object array,
int target)
处理Form表单中的数组项
|
protected void |
AbstractBodyBuilder.processFormCollectionItem(List<RequestNameValue> newNameValueList,
ForestConfiguration configuration,
String name,
Collection collection,
int target)
处理Form表单中的集合项
|
protected void |
AbstractBodyBuilder.processFormItem(List<RequestNameValue> newNameValueList,
ForestConfiguration configuration,
String name,
Object value,
int target)
处理Form表单中的项
|
protected void |
AbstractBodyBuilder.processFormMapItem(List<RequestNameValue> newNameValueList,
ForestConfiguration configuration,
String name,
Map map,
int target)
处理Form表单中的Map项
|
protected List<RequestNameValue> |
AbstractBodyBuilder.processFromNameValueList(List<RequestNameValue> nameValueList,
ForestConfiguration configuration)
处理Form表单中的键值对列表
|
Modifier and Type | Method and Description |
---|---|
void |
HttpclientConnectionManager.init(ForestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
OkHttp3ConnectionManager.init(ForestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ClientFactoryBean.getForestConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
ClientFactoryBean.setForestConfiguration(ForestConfiguration forestConfiguration) |
Modifier and Type | Method and Description |
---|---|
static ForestConfiguration |
ForestConfiguration.configuration()
实例化ForestConfiguration对象,并初始化默认值
|
ForestConfiguration |
VariableScope.getConfiguration() |
static ForestConfiguration |
ForestConfiguration.getDefaultConfiguration() |
ForestConfiguration |
ForestConfiguration.registerFilter(String name,
Class filterClass)
注册全局过滤器
|
ForestConfiguration |
ForestConfiguration.registerKeyStore(SSLKeyStore keyStore)
注册全局SSL的Key Store信息
|
ForestConfiguration |
ForestConfiguration.setBackend(HttpBackend backend)
设置HTTP后端
|
ForestConfiguration |
ForestConfiguration.setBackendName(String backendName)
设置HTTP后端名称
|
ForestConfiguration |
ForestConfiguration.setConnectTimeout(Integer connectTimeout)
设置全局的请求连接超时时间,单位为毫秒
|
ForestConfiguration |
ForestConfiguration.setConverterMap(Map<ForestDataType,ForestConverter> converterMap)
设置全局数据转换器表
|
ForestConfiguration |
ForestConfiguration.setDefaultHeaders(List<RequestNameValue> defaultHeaders)
设置全局默认请求头信息列表
|
ForestConfiguration |
ForestConfiguration.setDefaultParameters(List<RequestNameValue> defaultParameters)
设置全局默认请求参数列表
|
ForestConfiguration |
ForestConfiguration.setHttpBackendSelector(HttpBackendSelector httpBackendSelector)
设置HTTP后端选择器
|
ForestConfiguration |
ForestConfiguration.setJsonConverter(ForestJsonConverter converter)
设置全局JSON数据转换器
|
ForestConfiguration |
ForestConfiguration.setMaxConnections(Integer maxConnections)
设置全局的最大连接数
|
ForestConfiguration |
ForestConfiguration.setMaxRouteConnections(Integer maxRouteConnections)
设置全局的最大请求路径连接数
|
ForestConfiguration |
ForestConfiguration.setRetryCount(Integer retryCount)
设置全局的最大请求失败重试次数
|
ForestConfiguration |
ForestConfiguration.setSslKeyStores(Map<String,SSLKeyStore> sslKeyStores)
设置全局SSL的Key Store表
|
ForestConfiguration |
ForestConfiguration.setTimeout(Integer timeout)
设置全局的请求超时时间,单位为毫秒
|
ForestConfiguration |
ForestConfiguration.setVariables(Map<String,Object> variables)
设置全局变量表
|
ForestConfiguration |
ForestConfiguration.setVariableValue(String name,
Object value)
设置全局变量
|
ForestConfiguration |
ForestConfiguration.setXmlConverter(ForestXmlConverter converter)
设置全局XML数据转换器
|
Constructor and Description |
---|
DefaultAutoConverter(ForestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Object |
XmlFilter.doFilter(ForestConfiguration configuration,
Object data) |
Object |
Filter.doFilter(ForestConfiguration configuration,
Object data) |
Object |
JSONFilter.doFilter(ForestConfiguration configuration,
Object data) |
Object |
FilterChain.doFilter(ForestConfiguration configuration,
Object data) |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestRequest.getConfiguration()
获取该请求的配置对象
|
Constructor and Description |
---|
ForestRequest(ForestConfiguration configuration) |
ForestRequest(ForestConfiguration configuration,
ForestMethod method) |
ForestRequest(ForestConfiguration configuration,
ForestMethod method,
Object[] arguments) |
ForestRequest(ForestConfiguration configuration,
Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
SubVariableScope.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
InterfaceProxyHandler.getConfiguration() |
Constructor and Description |
---|
InterfaceProxyHandler(ForestConfiguration configuration,
ProxyFactory proxyFactory,
Class<T> interfaceClass) |
ProxyFactory(ForestConfiguration configuration,
Class<T> interfaceClass) |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestMethod.getConfiguration() |
Constructor and Description |
---|
ForestMethod(InterfaceProxyHandler interfaceProxyHandler,
ForestConfiguration configuration,
Method method) |
Modifier and Type | Method and Description |
---|---|
static Map |
ReflectUtils.convertObjectToMap(Object srcObj,
ForestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestBeanRegister.registerForestConfiguration(ForestConfigurationProperties forestConfigurationProperties) |
Copyright © 2020. All rights reserved.