com.hikvision.artemis.sdk

## 类 Response

- java.lang.Object
- - com.hikvision.artemis.sdk.Response

    public class Response
    extends Object

### 构造器概要

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

### 方法概要

所有方法 实例方法 具体方法
`String` `getBody()`
`String` `getContentType()`
`String` `getErrorMessage()`
`String` `getHeader(String key)`
`Map<String,String>` `getHeaders()`
`String` `getRequestId()`
`org.apache.http.HttpResponse` `getResponse()`
`int` `getStatusCode()`
`void` `setBody(String body)`
`void` `setContentType(String contentType)`
`void` `setErrorMessage(String errorMessage)`
`void` `setHeader(String key, String value)`
`void` `setHeaders(Map<String,String> headers)`
`void` `setRequestId(String requestId)`
`void` `setResponse(org.apache.http.HttpResponse response)`
`void` `setStatusCode(int statusCode)`

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

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

### 构造器详细资料

#### Response

    public Response()

### 方法详细资料

#### getStatusCode

    public int getStatusCode()

#### setStatusCode

    public void setStatusCode(int statusCode)

#### getContentType

    public String getContentType()

#### setContentType

    public void setContentType(String contentType)

#### getRequestId

    public String getRequestId()

#### setRequestId

    public void setRequestId(String requestId)

#### getErrorMessage

    public String getErrorMessage()

#### setErrorMessage

    public void setErrorMessage(String errorMessage)

#### getHeaders

    public Map<String,String> getHeaders()

#### getHeader

    public String getHeader(String key)

#### setHeaders

    public void setHeaders(Map<String,String> headers)

#### setHeader

    public void setHeader(String key,
                          String value)

#### getBody

    public String getBody()

#### setBody

    public void setBody(String body)

#### getResponse

    public org.apache.http.HttpResponse getResponse()

#### setResponse

    public void setResponse(org.apache.http.HttpResponse response)