Class HttpContext

java.lang.Object
com.bandwidth.http.client.HttpContext

public class HttpContext
extends java.lang.Object
Class to wrap the request sent to the server and the response received from the server
  • Constructor Summary

    Constructors 
    Constructor Description
    HttpContext​(HttpRequest request, HttpResponse response)
    Initialization constructor
  • Method Summary

    Modifier and Type Method Description
    HttpRequest getRequest()
    Getter for the Http Request
    HttpResponse getResponse()
    Getter for the Http Response

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait