com.moesif.api.http.client.HttpContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moesifapi Show documentation
Show all versions of moesifapi Show documentation
Java API Library for Moesif
/*
* MoesifAPILib
*
*
*/
package com.moesif.api.http.client;
import com.moesif.api.http.request.HttpRequest;
import com.moesif.api.http.response.HttpResponse;
public class HttpContext {
private HttpRequest _request;
private HttpResponse _response;
public HttpContext(HttpRequest request, HttpResponse response) {
_request = request;
_response = response;
}
/**
* Getter for the Http Request
* @return HttpRequest request
*/
public HttpRequest getRequest() {
return _request;
}
/**
* Getter for the Http Response
* @return HttpResponse response
*/
public HttpResponse getResponse() {
return _response;
}
}