All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy