程序包 com.easemob.im
类 ApiResponse<T>
java.lang.Object
com.easemob.im.ApiResponse<T>
API response returned by API call.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
ApiResponse
Constructor for ApiResponse.
- 参数:
statusCode- The status code of HTTP responseheaders- The headers of HTTP response
-
ApiResponse
Constructor for ApiResponse.
- 参数:
statusCode- The status code of HTTP responseheaders- The headers of HTTP responsedata- The object deserialized from response bod
-
-
方法详细资料
-
getStatusCode
public int getStatusCode()Get the
status code.- 返回:
- the status code
-
getHeaders
Get the
headers.- 返回:
- a
Mapof headers
-
getData
Get the
data.- 返回:
- the data
-