apollo.util.http.HttpResponse Maven / Gradle / Ivy
The newest version!
package apollo.util.http;
/**
* @author Jason Song([email protected])
*/
public class HttpResponse {
private final int m_statusCode;
private final T m_body;
public HttpResponse(int statusCode, T body) {
this.m_statusCode = statusCode;
this.m_body = body;
}
public int getStatusCode() {
return m_statusCode;
}
public T getBody() {
return m_body;
}
}