## 类 com.aliyun.oss.common.comm.ResponseMessage
的使用

- 使用ResponseMessage的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |
  com.aliyun.oss.common.comm |
  com.aliyun.oss.common.parser |
  com.aliyun.oss.model |

- - ### com.aliyun.oss中ResponseMessage的使用

    返回ResponseMessage的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ResponseMessage` | OSSClient.`optionsObject(OptionsRequest request)`
    `ResponseMessage` | OSS.`optionsObject(OptionsRequest request)` 已过时。

  - ### com.aliyun.oss.common.comm中ResponseMessage的使用

    返回ResponseMessage的com.aliyun.oss.common.comm中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected static ResponseMessage` | DefaultServiceClient.`buildResponse(ServiceClient.Request request, org.apache.http.client.methods.CloseableHttpResponse httpResponse)`
    `ResponseMessage` | ServiceClient.`sendRequest(RequestMessage request, ExecutionContext context)` Send HTTP request with specified context to OSS and wait for HTTP response.
    `ResponseMessage` | TimeoutServiceClient.`sendRequestCore(ServiceClient.Request request, ExecutionContext context)`
    `protected abstract ResponseMessage` | ServiceClient.`sendRequestCore(ServiceClient.Request request, ExecutionContext context)` Implements the core logic to send requests to Aliyun OSS services.
    `ResponseMessage` | DefaultServiceClient.`sendRequestCore(ServiceClient.Request request, ExecutionContext context)`

    参数类型为ResponseMessage的com.aliyun.oss.common.comm中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ResponseProgressHandler.`handle(ResponseMessage response)`
    `void` | ResponseHandler.`handle(ResponseMessage response)`
    `void` | ResponseChecksumHandler.`handle(ResponseMessage response)`
    `abstract boolean` | RetryStrategy.`shouldRetry(Exception ex, RequestMessage request, ResponseMessage response, int retries)`
    `boolean` | NoRetryStrategy.`shouldRetry(Exception ex, RequestMessage request, ResponseMessage response, int retries)`

  - ### com.aliyun.oss.common.parser中ResponseMessage的使用

    参数类型为ResponseMessage的com.aliyun.oss.common.parser中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `T` | ResponseParser.`parse(ResponseMessage response)` Converts the result from stream to a java object.
    `Object` | JAXBResponseParser.`parse(ResponseMessage response)`

  - ### com.aliyun.oss.model中ResponseMessage的使用

    返回ResponseMessage的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ResponseMessage` | GenericResult.`getResponse()`

    参数类型为ResponseMessage的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | GenericResult.`setResponse(ResponseMessage response)`

Copyright © 2020. All Rights Reserved.