| 构造器和说明 |
|---|
HttpErrorResponse(int statusCode,
byte[] data,
java.util.Map<java.lang.String,java.lang.String> headers,
boolean notModified,
long networkTimeMs,
java.lang.String message)
Instantiates a new http error response.
|
HttpErrorResponse(java.lang.String message)
Instantiates a new http error response.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResponse |
getHttpResponse()
Gets the http response.
|
java.lang.String |
getMessage() |
public HttpErrorResponse(java.lang.String message)
message - the messagepublic HttpErrorResponse(int statusCode,
byte[] data,
java.util.Map<java.lang.String,java.lang.String> headers,
boolean notModified,
long networkTimeMs,
java.lang.String message)
statusCode - the status codedata - the dataheaders - the headersnotModified - the not modifiednetworkTimeMs - the network time msmessage - the messagepublic java.lang.String getMessage()
getMessage 在接口中 Errorpublic HttpResponse getHttpResponse()