com.aliyun.oss.common.comm

## 类 ResponseMessage

- java.lang.Object
- - com.aliyun.oss.common.comm.HttpMesssage
  - - com.aliyun.oss.common.comm.ResponseMessage

-     public class ResponseMessage
      extends HttpMesssage

- - ### 构造器概要

    构造器
    构造器和说明
    `ResponseMessage(ServiceClient.Request request)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `abort()`
    `String` | `getErrorResponseAsString()`
    `org.apache.http.client.methods.CloseableHttpResponse` | `getHttpResponse()`
    `ServiceClient.Request` | `getRequest()`
    `String` | `getRequestId()`
    `int` | `getStatusCode()`
    `String` | `getUri()`
    `boolean` | `isSuccessful()`
    `void` | `setErrorResponseAsString(String errorResponseAsString)`
    `void` | `setHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse)`
    `void` | `setStatusCode(int statusCode)`
    `void` | `setUrl(String uri)`

    - ### 从类继承的方法 com.aliyun.oss.common.comm.HttpMesssage

      `addHeader, close, getContent, getContentLength, getHeaders, setContent, setContentLength, setHeaders`

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

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

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

    - #### ResponseMessage

          public ResponseMessage(ServiceClient.Request request)

  - ### 方法详细资料

    - #### getUri

          public String getUri()

    - #### setUrl

          public void setUrl(String uri)

    - #### getStatusCode

          public int getStatusCode()

    - #### setStatusCode

          public void setStatusCode(int statusCode)

    - #### getRequestId

          public String getRequestId()

    - #### getRequest

          public ServiceClient.Request getRequest()

    - #### isSuccessful

          public boolean isSuccessful()

    - #### getErrorResponseAsString

          public String getErrorResponseAsString()

    - #### setErrorResponseAsString

          public void setErrorResponseAsString(String errorResponseAsString)

    - #### abort

          public void abort()
                     throws IOException

      抛出:
        `IOException`

    - #### getHttpResponse

          public org.apache.http.client.methods.CloseableHttpResponse getHttpResponse()

    - #### setHttpResponse

          public void setHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse)

Copyright © 2020. All Rights Reserved.