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

com.moesif.api.http.client.HttpContext Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy