|
@@ -11,7 +11,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
*/
|
|
*/
|
|
public class JsonHttpResponseHolder {
|
|
public class JsonHttpResponseHolder {
|
|
|
|
|
|
- private int status;
|
|
|
|
|
|
+ private int statusCode;
|
|
|
|
|
|
private JSONObject respBody;
|
|
private JSONObject respBody;
|
|
|
|
|
|
@@ -19,18 +19,18 @@ public class JsonHttpResponseHolder {
|
|
super();
|
|
super();
|
|
}
|
|
}
|
|
|
|
|
|
- public JsonHttpResponseHolder(int status, JSONObject respBody) {
|
|
|
|
|
|
+ public JsonHttpResponseHolder(int statusCode, JSONObject respBody) {
|
|
super();
|
|
super();
|
|
- this.status = status;
|
|
|
|
|
|
+ this.statusCode = statusCode;
|
|
this.respBody = respBody;
|
|
this.respBody = respBody;
|
|
}
|
|
}
|
|
|
|
|
|
- public int getStatus() {
|
|
|
|
- return status;
|
|
|
|
|
|
+ public int getStatusCode() {
|
|
|
|
+ return statusCode;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setStatus(int status) {
|
|
|
|
- this.status = status;
|
|
|
|
|
|
+ public void setStatusCode(int statusCode) {
|
|
|
|
+ this.statusCode = statusCode;
|
|
}
|
|
}
|
|
|
|
|
|
public JSONObject getRespBody() {
|
|
public JSONObject getRespBody() {
|