com.aliyun.oss.common.comm

## 类 ExecutionContext

- java.lang.Object
- - com.aliyun.oss.common.comm.ExecutionContext

-     public class ExecutionContext
      extends Object

  HTTP request context.

- - ### 构造器概要

    构造器
    构造器和说明
    `ExecutionContext()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addRequestHandler(RequestHandler handler)`
    `void` | `addResponseHandler(ResponseHandler handler)`
    `void` | `addSignerHandler(RequestSigner handler)`
    `String` | `getCharset()`
    `Credentials` | `getCredentials()`
    `List<ResponseHandler>` | `getResponseHandlers()`
    `List<RequestHandler>` | `getResquestHandlers()`
    `RetryStrategy` | `getRetryStrategy()`
    `RequestSigner` | `getSigner()`
    `List<RequestSigner>` | `getSignerHandlers()`
    `void` | `insertRequestHandler(int position, RequestHandler handler)`
    `void` | `insertResponseHandler(int position, ResponseHandler handler)`
    `void` | `insertSignerHandler(int position, RequestSigner handler)`
    `void` | `removeRequestHandler(RequestHandler handler)`
    `void` | `removeResponseHandler(ResponseHandler handler)`
    `void` | `removeSignerHandler(RequestSigner handler)`
    `void` | `setCharset(String defaultEncoding)`
    `void` | `setCredentials(Credentials credentials)`
    `void` | `setRetryStrategy(RetryStrategy retryStrategy)`
    `void` | `setSigner(RequestSigner signer)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ExecutionContext

          public ExecutionContext()

  - ### 方法详细资料

    - #### getRetryStrategy

          public RetryStrategy getRetryStrategy()

    - #### setRetryStrategy

          public void setRetryStrategy(RetryStrategy retryStrategy)

    - #### getCharset

          public String getCharset()

    - #### setCharset

          public void setCharset(String defaultEncoding)

    - #### getSigner

          public RequestSigner getSigner()

    - #### setSigner

          public void setSigner(RequestSigner signer)

    - #### getResponseHandlers

          public List<ResponseHandler> getResponseHandlers()

    - #### addResponseHandler

          public void addResponseHandler(ResponseHandler handler)

    - #### insertResponseHandler

          public void insertResponseHandler(int position,
                                   ResponseHandler handler)

    - #### removeResponseHandler

          public void removeResponseHandler(ResponseHandler handler)

    - #### getResquestHandlers

          public List<RequestHandler> getResquestHandlers()

    - #### addRequestHandler

          public void addRequestHandler(RequestHandler handler)

    - #### insertRequestHandler

          public void insertRequestHandler(int position,
                                  RequestHandler handler)

    - #### removeRequestHandler

          public void removeRequestHandler(RequestHandler handler)

    - #### getSignerHandlers

          public List<RequestSigner> getSignerHandlers()

    - #### addSignerHandler

          public void addSignerHandler(RequestSigner handler)

    - #### insertSignerHandler

          public void insertSignerHandler(int position,
                                 RequestSigner handler)

    - #### removeSignerHandler

          public void removeSignerHandler(RequestSigner handler)

    - #### getCredentials

          public Credentials getCredentials()

    - #### setCredentials

          public void setCredentials(Credentials credentials)

Copyright © 2020. All Rights Reserved.