com.rocket.core.http.ResponseDetail Maven / Gradle / Ivy
package com.rocket.core.http;
import com.google.api.client.http.HttpHeaders;
public class ResponseDetail {
private int statusCode;
private HttpHeaders headers;
private RESP content;
private final Class returnType;
public ResponseDetail(Class type) {
this.returnType = type;
}
public Class getReturnType() {
return this.returnType;
}
public int getStatusCode() {
return statusCode;
}
public void setStatusCode(int statusCode) {
this.statusCode = statusCode;
}
public HttpHeaders getHeaders() {
return headers;
}
public void setHeaders(HttpHeaders headers) {
this.headers = headers;
}
public RESP getContent() {
return content;
}
public void setContent(RESP content) {
this.content = content;
}
}