Modifier and Type | Field and Description |
---|---|
protected ForestRequest |
AbstractBackendResponseHandler.request |
protected ForestRequest |
AbstractHttpExecutor.request |
Modifier and Type | Method and Description |
---|---|
void |
BodyBuilder.buildBody(R req,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createDeleteExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
HttpExecutor |
HttpBackend.HttpExecutorCreator.createExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
HttpExecutor |
AbstractHttpBackend.createExecutor(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
HttpExecutor |
HttpBackend.createExecutor(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createGetExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createHeadExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createOptionsExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createPatchExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createPostExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createPutExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
protected abstract HttpExecutor |
AbstractHttpBackend.createTraceExecutor(ForestConnectionManager connectionManager,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Constructor and Description |
---|
AbstractBackendResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
AbstractHttpExecutor(ForestRequest request,
HttpclientRequestSender requestSender) |
Modifier and Type | Method and Description |
---|---|
void |
NoneBodyBuilder.buildBody(Object req,
ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
void |
AbstractBodyBuilder.buildBody(T httpRequest,
ForestRequest request,
LifeCycleHandler lifeCycleHandler)
构建请求体
|
protected abstract void |
AbstractBodyBuilder.setFileBody(T httpReq,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList,
List<ForestMultipart> multiparts,
LifeCycleHandler lifeCycleHandler)
设置文件请求体
|
protected abstract void |
AbstractBodyBuilder.setFormBody(T httpReq,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList)
设置表单请求体
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpclientBodyBuilder.setFileBody(T httpReq,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList,
List<ForestMultipart> multiparts,
LifeCycleHandler lifeCycleHandler) |
protected void |
HttpclientBodyBuilder.setFormBody(T httpReq,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList) |
Constructor and Description |
---|
HttpclientMultipartCommonBody(ForestRequest request,
ForestMultipart multipart,
org.apache.http.entity.ContentType contentType,
String filename,
LifeCycleHandler handler) |
HttpclientMultipartFileBody(ForestRequest request,
File file,
org.apache.http.entity.ContentType contentType,
String filename,
LifeCycleHandler handler) |
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestSSLConnectionFactory.removeCurrentRequest() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
HttpclientConnectionManager.getHttpAsyncClient(ForestRequest request) |
org.apache.http.client.HttpClient |
HttpclientConnectionManager.getHttpClient(ForestRequest request,
org.apache.http.client.CookieStore cookieStore) |
void |
ForestSSLConnectionFactory.setCurrentRequest(ForestRequest request) |
Modifier and Type | Field and Description |
---|---|
protected ForestRequest |
AbstractHttpclientRequestSender.request |
Modifier and Type | Method and Description |
---|---|
void |
HttpclientRequestSender.sendRequest(ForestRequest request,
HttpclientResponseHandler responseHandler,
org.apache.http.client.methods.HttpUriRequest httpRequest,
LifeCycleHandler lifeCycleHandler,
org.apache.http.client.CookieStore cookieStore,
long startTime,
int retryCount) |
void |
AsyncHttpclientRequestSender.sendRequest(ForestRequest request,
HttpclientResponseHandler responseHandler,
org.apache.http.client.methods.HttpUriRequest httpRequest,
LifeCycleHandler lifeCycleHandler,
org.apache.http.client.CookieStore cookieStore,
long startTime,
int retryCount) |
void |
SyncHttpclientRequestSender.sendRequest(ForestRequest request,
HttpclientResponseHandler responseHandler,
org.apache.http.client.methods.HttpUriRequest httpRequest,
LifeCycleHandler lifeCycleHandler,
org.apache.http.client.CookieStore cookieStore,
long startTime,
int retryCount) |
Constructor and Description |
---|
AbstractHttpclientRequestSender(HttpclientConnectionManager connectionManager,
ForestRequest request) |
AsyncHttpclientRequestSender(HttpclientConnectionManager connectionManager,
ForestRequest request) |
SyncHttpclientRequestSender(HttpclientConnectionManager connectionManager,
ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
ForestResponse |
HttpclientForestResponseFactory.createResponse(ForestRequest request,
org.apache.http.HttpResponse httpResponse,
LifeCycleHandler lifeCycleHandler,
Throwable exception) |
Constructor and Description |
---|
HttpclientEntity(ForestRequest request,
org.apache.http.HttpEntity entity,
LifeCycleHandler handler) |
HttpclientForestFuture(ForestRequest request,
Class<T> innerType,
LifeCycleHandler lifeCycleHandler,
Future<R> httpResponseFuture,
ForestResponseFactory forestResponseFactory) |
HttpclientForestResponse(ForestRequest request,
org.apache.http.HttpResponse httpResponse,
org.apache.http.HttpEntity entity) |
HttpclientResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOkHttp3BodyBuilder.setFileBody(okhttp3.Request.Builder builder,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList,
List<ForestMultipart> multiparts,
LifeCycleHandler lifeCycleHandler) |
protected void |
AbstractOkHttp3BodyBuilder.setFormBody(okhttp3.Request.Builder builder,
ForestRequest request,
String charset,
String contentType,
List<RequestNameValue> nameValueList) |
Constructor and Description |
---|
OkHttpMultipartBody(ForestRequest request,
okhttp3.RequestBody requestBody,
LifeCycleHandler handler) |
Modifier and Type | Method and Description |
---|---|
okhttp3.OkHttpClient |
OkHttp3ConnectionManager.getClient(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
X509TrustManager |
OkHttp3ConnectionManager.getTrustManager(KeyStore keyStore,
ForestRequest request) |
X509TrustManager |
OkHttp3ConnectionManager.getX509TrustManager(ForestRequest request) |
Modifier and Type | Field and Description |
---|---|
protected ForestRequest |
AbstractOkHttp3Executor.request |
Modifier and Type | Method and Description |
---|---|
protected okhttp3.OkHttpClient |
AbstractOkHttp3Executor.getClient(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Modifier and Type | Method and Description |
---|---|
ForestResponse |
OkHttp3ForestResponseFactory.createResponse(ForestRequest request,
okhttp3.Response res,
LifeCycleHandler lifeCycleHandler,
Throwable exception) |
Constructor and Description |
---|
OkHttp3ForestResponse(ForestRequest request,
okhttp3.Response okResponse) |
OkHttp3ResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
OkHttpResponseBody(ForestRequest request,
okhttp3.ResponseBody responseBody,
LifeCycleHandler handler) |
Modifier and Type | Method and Description |
---|---|
String |
QueryableURLBuilder.buildUrl(ForestRequest request) |
String |
SimpleURLBuilder.buildUrl(ForestRequest request) |
abstract String |
URLBuilder.buildUrl(ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
OnError.onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response)
请求失败后调用该方法
|
void |
OnLoadCookie.onLoadCookie(ForestRequest request,
ForestCookies cookies)
在发送请求加载Cookie时调用该方法
|
void |
OnSaveCookie.onSaveCookie(ForestRequest request,
ForestCookies cookies)
在请求响应成功后,需要保存Cookie时调用该方法
|
void |
OnSuccess.onSuccess(T data,
ForestRequest request,
ForestResponse response)
请求成功后调用该方法
|
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestHandlerException.getRequest() |
ForestRequest |
ForestRetryException.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
ForestHandlerException.setRequest(ForestRequest request) |
Constructor and Description |
---|
ForestHandlerException(String message,
ForestRequest request,
ForestResponse response) |
ForestHandlerException(String message,
Throwable cause,
ForestRequest request,
ForestResponse response) |
ForestHandlerException(Throwable cause,
ForestRequest request,
ForestResponse response) |
ForestRetryException(Throwable cause,
ForestRequest request,
int maxRetryCount,
int currentRetryCount) |
Modifier and Type | Method and Description |
---|---|
Object |
ResultHandler.getResult(ForestRequest request,
ForestResponse response,
Type resultType,
Class resultClass) |
Object |
LifeCycleHandler.handleError(ForestRequest request,
ForestResponse response) |
Object |
LifeCycleHandler.handleError(ForestRequest request,
ForestResponse response,
Throwable ex) |
void |
LifeCycleHandler.handleInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
void |
LifeCycleHandler.handleLoadCookie(ForestRequest request,
ForestCookies cookies) |
void |
LifeCycleHandler.handleProgress(ForestRequest request,
ForestProgress progress) |
Object |
LifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response) |
Object |
LifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response,
Type resultType,
Class resultClass) |
void |
LifeCycleHandler.handleSaveCookie(ForestRequest request,
ForestCookies cookies) |
Object |
LifeCycleHandler.handleSuccess(Object resultData,
ForestRequest request,
ForestResponse response) |
Object |
LifeCycleHandler.handleSync(ForestRequest request,
ForestResponse response) |
Object |
LifeCycleHandler.handleSyncWithException(ForestRequest request,
ForestResponse response,
Exception ex) |
Modifier and Type | Field and Description |
---|---|
protected ForestRequest |
ForestResponse.request
请求对象
|
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestRequest.addAttachment(String name,
Object value)
添加附件到请求中
|
ForestRequest |
ForestRequest.addBody(ForestRequestBody body)
添加Body数据
|
ForestRequest |
ForestRequest.addBody(List<RequestNameValue> nameValueList)
Deprecated.
|
ForestRequest |
ForestRequest.addBody(RequestNameValue nameValue)
Deprecated.
|
ForestRequest |
ForestRequest.addBody(String stringBody)
添加字符串Body数据
|
ForestRequest |
ForestRequest.addBody(String name,
Object value)
添加键值对类型Body数据
|
ForestRequest |
ForestRequest.addBody(String name,
String contentType,
Object value)
添加键值对类型Body数据
|
ForestRequest |
ForestRequest.addData(List<RequestNameValue> data)
Deprecated.
|
ForestRequest |
ForestRequest.addData(RequestNameValue nameValue)
Deprecated.
|
ForestRequest |
ForestRequest.addData(String name,
Object value)
Deprecated.
|
ForestRequest |
ForestRequest.addHeader(RequestNameValue nameValue)
添加请求头到该请求中
|
ForestRequest |
ForestRequest.addHeader(String name,
Object value)
添加请求头到该请求中
|
ForestRequest |
ForestRequest.addHeaders(List<RequestNameValue> nameValues)
批量添加请求头到该请求中
|
ForestRequest<T> |
ForestRequest.addInterceptor(Interceptor interceptor)
添加拦截器到该请求中
|
ForestRequest |
ForestRequest.addInterceptorAttribute(Class interceptorClass,
String attributeName,
Object attributeValue)
添加拦截器属性到该请求
|
ForestRequest |
ForestRequest.addInterceptorAttributes(Class interceptorClass,
InterceptorAttributes attributes)
添加拦截器属性到该请求
|
ForestRequest |
ForestRequest.addNameValue(List<RequestNameValue> nameValueList)
添加键值对列表
|
ForestRequest |
ForestRequest.addNameValue(RequestNameValue nameValue)
添加键值对
|
ForestRequest |
ForestRequest.addQuery(Collection<ForestQueryParameter> queryParameters)
批量添加请求中的Query参数
|
ForestRequest |
ForestRequest.addQuery(ForestQueryParameter queryParameter)
添加请求中的Query参数
|
ForestRequest |
ForestRequest.addQuery(ForestQueryParameter[] queryParameters)
批量添加请求中的Query参数
|
ForestRequest |
ForestRequest.addQuery(String name,
Object value)
添加请求中的Query参数
|
ForestRequest |
ForestRequest.addQueryValues(String name,
Collection queryValues)
批量添加请求中的同名Query参数
|
ForestRequest |
ForestResponse.getRequest()
获取该响应对象对应的请求对象
|
ForestRequest |
ForestRequest.methodReturn(T result)
设置该请求对应的方法返回值
|
ForestRequest |
ForestRequest.replaceBody(ForestRequestBody body)
替换Body数据,原有的Body数据将被清空
|
ForestRequest |
ForestRequest.replaceBody(String stringbody)
替换Body为新的字符串数据,原有的Body数据将被清空
|
ForestRequest |
ForestRequest.replaceOrAddQuery(ForestQueryParameter queryParameter)
替换或添加请求中的Query参数
|
ForestRequest |
ForestRequest.replaceOrAddQuery(String name,
String value)
替换或添加请求中的Query参数
|
ForestRequest |
ForestRequest.replaceQuery(ForestQueryParameter queryParameter)
替换请求中的Query参数值
|
ForestRequest |
ForestRequest.replaceQuery(String name,
Object value)
替换请求中的Query参数值
|
ForestRequest |
ForestRequest.setAsync(boolean async) |
ForestRequest |
ForestRequest.setBackend(HttpBackend backend)
设置HTTP后端对象
|
ForestRequest |
ForestRequest.setCharset(String charset) |
ForestRequest |
ForestRequest.setContentEncoding(String contentEncoding) |
ForestRequest |
ForestRequest.setContentType(String contentType) |
ForestRequest |
ForestRequest.setDataType(ForestDataType dataType) |
ForestRequest |
ForestRequest.setDecoder(ForestConverter decoder)
设置反序列化器
|
ForestRequest |
ForestRequest.setDownloadFile(boolean downloadFile)
设置该请求是否下载文件
|
ForestRequest |
ForestRequest.setKeyStore(SSLKeyStore keyStore)
设置SSL KeyStore信息
|
ForestRequest |
ForestRequest.setLifeCycleHandler(LifeCycleHandler lifeCycleHandler)
设置生命周期处理器
|
ForestRequest |
ForestRequest.setLogConfiguration(LogConfiguration logConfiguration) |
ForestRequest |
ForestRequest.setMaxRetryInterval(long maxRetryInterval) |
ForestRequest |
ForestRequest.setMultiparts(List<ForestMultipart> multiparts) |
ForestRequest |
ForestRequest.setOnError(OnError onError)
设置OnError回调函数,该回调函数在请求成功时被调用
|
ForestRequest |
ForestRequest.setOnLoadCookie(OnLoadCookie onLoadCookie)
设置回调函数: 加载Cookie时调用
|
ForestRequest |
ForestRequest.setOnProgress(OnProgress onProgress)
设置进度回调函数:上传/下载进度监听时调用
|
ForestRequest |
ForestRequest.setOnSaveCookie(OnSaveCookie onSaveCookie)
设置回调函数: 需要保存Cookie时调用
|
ForestRequest |
ForestRequest.setOnSuccess(OnSuccess onSuccess)
设置OnSuccess回调函数,该回调函数在请求成功时被调用
|
ForestRequest |
ForestRequest.setProgressStep(long progressStep)
设置获取上传/下载进度监听的步长
|
ForestRequest |
ForestRequest.setProtocol(String protocol)
设置请求协议
|
ForestRequest |
ForestRequest.setProxy(ForestProxy proxy)
设置正向代理
|
ForestRequest<T> |
ForestRequest.setResponseEncode(String responseEncode) |
ForestRequest |
ForestRequest.setRetryCount(int retryCount) |
ForestRequest |
ForestRequest.setRetryer(Retryer retryer)
设置Forest请求重试器
|
ForestRequest |
ForestRequest.setSslProtocol(String sslProtocol) |
ForestRequest |
ForestRequest.setTimeout(int timeout) |
ForestRequest |
ForestRequest.setType(ForestRequestType type) |
ForestRequest |
ForestRequest.setUrl(String url)
设置请求的url地址
|
ForestRequest |
ForestRequest.setUserAgent(String userAgent) |
ForestRequest |
ForestRequest.setUserInfo(String userInfo) |
Modifier and Type | Method and Description |
---|---|
ForestResponse |
ForestResponseFactory.createResponse(ForestRequest request,
R res,
LifeCycleHandler lifeCycleHandler,
Throwable exception) |
Constructor and Description |
---|
ForestResponse(ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
default void |
Interceptor.addAttribute(ForestRequest request,
String name,
Object value) |
default void |
Interceptor.afterExecute(ForestRequest request,
ForestResponse response) |
void |
InterceptorChain.afterExecute(ForestRequest request,
ForestResponse response) |
default boolean |
Interceptor.beforeExecute(ForestRequest request) |
boolean |
InterceptorChain.beforeExecute(ForestRequest request) |
default Object |
Interceptor.getAttribute(ForestRequest request,
String name) |
default <T> T |
Interceptor.getAttribute(ForestRequest request,
String name,
Class<T> clazz) |
default Double |
Interceptor.getAttributeAsDouble(ForestRequest request,
String name) |
default Float |
Interceptor.getAttributeAsFloat(ForestRequest request,
String name) |
default Integer |
Interceptor.getAttributeAsInteger(ForestRequest request,
String name) |
default String |
Interceptor.getAttributeAsString(ForestRequest request,
String name) |
default InterceptorAttributes |
Interceptor.getAttributes(ForestRequest request) |
void |
InterceptorChain.onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response) |
default void |
Interceptor.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
void |
InterceptorChain.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
default void |
Interceptor.onLoadCookie(ForestRequest request,
ForestCookies cookies) |
void |
InterceptorChain.onLoadCookie(ForestRequest request,
ForestCookies cookies) |
default void |
Interceptor.onSaveCookie(ForestRequest request,
ForestCookies cookies) |
void |
InterceptorChain.onSaveCookie(ForestRequest request,
ForestCookies cookies) |
void |
InterceptorChain.onSuccess(Object data,
ForestRequest request,
ForestResponse response) |
Modifier and Type | Method and Description |
---|---|
default void |
MethodAnnotationLifeCycle.onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response) |
default void |
ParameterAnnotationLifeCycle.onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response) |
default void |
BaseAnnotationLifeCycle.onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response) |
default void |
MethodAnnotationLifeCycle.onSuccess(I data,
ForestRequest request,
ForestResponse response) |
default void |
ParameterAnnotationLifeCycle.onSuccess(I data,
ForestRequest request,
ForestResponse response) |
default void |
BaseAnnotationLifeCycle.onSuccess(I data,
ForestRequest request,
ForestResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicAuthLifeCycle.beforeExecute(ForestRequest request) |
boolean |
OAuth2LifeCycle.beforeExecute(ForestRequest request) |
void |
BasicAuthLifeCycle.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
void |
DownloadLifeCycle.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
void |
DownloadLifeCycle.onSuccess(Object data,
ForestRequest request,
ForestResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
IgnoreAllIntercetporsLifeCycle.beforeExecute(ForestRequest request) |
void |
IgnoreAllIntercetporsLifeCycle.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
XMLBodyLifeCycle.beforeExecute(ForestRequest request) |
boolean |
JSONBodyLifeCycle.beforeExecute(ForestRequest request) |
boolean |
FormBodyLifeCycle.beforeExecute(ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
boolean |
HTTPProxyLifeCycle.beforeExecute(ForestRequest request) |
void |
HTTPProxyLifeCycle.onInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
ForestRequest |
RequestLogMessage.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
RequestLogMessage.setRequest(ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
Object |
NoneLifeCycleHandler.handleError(ForestRequest request,
ForestResponse response) |
Object |
MethodLifeCycleHandler.handleError(ForestRequest request,
ForestResponse response) |
Object |
NoneLifeCycleHandler.handleError(ForestRequest request,
ForestResponse response,
Throwable ex) |
Object |
MethodLifeCycleHandler.handleError(ForestRequest request,
ForestResponse response,
Throwable ex) |
void |
NoneLifeCycleHandler.handleInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
void |
MethodLifeCycleHandler.handleInvokeMethod(ForestRequest request,
ForestMethod method,
Object[] args) |
void |
NoneLifeCycleHandler.handleLoadCookie(ForestRequest request,
ForestCookies cookies) |
void |
MethodLifeCycleHandler.handleLoadCookie(ForestRequest request,
ForestCookies cookies) |
void |
NoneLifeCycleHandler.handleProgress(ForestRequest request,
ForestProgress progress) |
void |
MethodLifeCycleHandler.handleProgress(ForestRequest request,
ForestProgress progress) |
Object |
NoneLifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response) |
Object |
MethodLifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response) |
Object |
NoneLifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response,
Type resultType,
Class resultClass) |
Object |
MethodLifeCycleHandler.handleResultType(ForestRequest request,
ForestResponse response,
Type resultType,
Class resultClass) |
void |
NoneLifeCycleHandler.handleSaveCookie(ForestRequest request,
ForestCookies cookies) |
void |
MethodLifeCycleHandler.handleSaveCookie(ForestRequest request,
ForestCookies cookies) |
Object |
NoneLifeCycleHandler.handleSuccess(Object resultData,
ForestRequest request,
ForestResponse response) |
Object |
MethodLifeCycleHandler.handleSuccess(Object resultData,
ForestRequest request,
ForestResponse response) |
Object |
NoneLifeCycleHandler.handleSync(ForestRequest request,
ForestResponse response) |
Object |
MethodLifeCycleHandler.handleSync(ForestRequest request,
ForestResponse response) |
Object |
NoneLifeCycleHandler.handleSyncWithException(ForestRequest request,
ForestResponse response,
Exception ex) |
Object |
MethodLifeCycleHandler.handleSyncWithException(ForestRequest request,
ForestResponse response,
Exception ex) |
Modifier and Type | Field and Description |
---|---|
protected ForestRequest |
BackOffRetryer.request |
Modifier and Type | Method and Description |
---|---|
ForestRequest |
BackOffRetryer.getRequest() |
Constructor and Description |
---|
BackOffRetryer(ForestRequest request) |
NoneRetryer(ForestRequest request) |
Modifier and Type | Method and Description |
---|---|
static SSLContext |
SSLUtils.customSSL(ForestRequest request)
自定义SSL证书
|
static SSLContext |
SSLUtils.getSSLContext(ForestRequest request,
String protocol)
获取SSL上下文
|
static SSLSocketFactory |
SSLUtils.getSSLSocketFactory(ForestRequest request,
String protocol) |
Modifier and Type | Method and Description |
---|---|
ForestRequest |
ForestProgress.getRequest() |
Constructor and Description |
---|
ForestProgress(ForestRequest request,
long totalBytes) |
Copyright © 2020. All rights reserved.