Class HTTPCallsUtils.HttpResponse

  • Enclosing class:
    HTTPCallsUtils

    public class HTTPCallsUtils.HttpResponse
    extends Object
    The Class HttpResponse.
    Author:
    Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Sep 7, 2016
    • Constructor Detail

      • HttpResponse

        public HttpResponse()
        Instantiates a new http response.
      • HttpResponse

        public HttpResponse​(int status,
                            String response)
        Instantiates a new http response.
        Parameters:
        status - the status
        response - the response
    • Method Detail

      • getStatus

        public int getStatus()
        Gets the status.
        Returns:
        the status
      • getResponse

        public String getResponse()
        Gets the response.
        Returns:
        the response
      • setStatus

        public void setStatus​(int status)
        Sets the status.
        Parameters:
        status - the status to set
      • setResponse

        public void setResponse​(String response)
        Sets the response.
        Parameters:
        response - the response to set