public class CallRet extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
Exception |
exception
Any exception when dealing with the request
|
String |
response
The http response body
|
int |
statusCode
http status code
|
| 构造器和说明 |
|---|
CallRet() |
CallRet(CallRet ret)
Construct a new CallRet with the specified ret, behaves like copy
constructor.
|
CallRet(int statusCode,
Exception e)
Construct a new CallRet with the the specifed statusCode and exception.
|
CallRet(int statusCode,
String response)
Constructs a new CallRet with the specified statusCode and response.
|
public int statusCode
public String response
public Exception exception
public CallRet()
public CallRet(int statusCode,
String response)
statusCode - http status coderesponse - http reponse bodypublic CallRet(int statusCode,
Exception e)
statusCode - the http status codee - any exception resulting from dealing the use's request.public CallRet(CallRet ret)
ret - Copyright © 2014. All Rights Reserved.