Class Response

java.lang.Object
org.apache.http.client.fluent.Response

public class Response extends Object
  • Method Details

    • discardContent

      public void discardContent()
      Discards response content and deallocates all resources associated with it.
    • handleResponse

      public <T> T handleResponse(org.apache.http.client.ResponseHandler<T> handler) throws org.apache.http.client.ClientProtocolException, IOException
      Handles the response using the specified ResponseHandler
      Throws:
      org.apache.http.client.ClientProtocolException
      IOException
    • returnContent

      public Content returnContent() throws org.apache.http.client.ClientProtocolException, IOException
      Throws:
      org.apache.http.client.ClientProtocolException
      IOException
    • returnResponse

      public org.apache.http.HttpResponse returnResponse() throws IOException
      Throws:
      IOException
    • saveContent

      public void saveContent(File file) throws IOException
      Throws:
      IOException