Class Response

    • Method Detail

      • dispose

        public void dispose()
      • getContentType

        public String getContentType()
      • getInputStream

        public InputStream getInputStream()
        Returns the InputStream that contains the response from the server. The contents of this stream vary according to the type of request that was made, and whether it was successful or not.

        NOTE: Note that clients using this code are responsible for closing the InputStream when they are finished with it.

        the input stream containing the response from the server