Interface ResponseContext


  • public interface ResponseContext
    Interface for the important parts of a response. This is created after executing the request.
    • Method Detail

      • getResponseCode

        Status getResponseCode()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getErrorStream

        java.io.InputStream getErrorStream()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isJsonCompatibleResponse

        boolean isJsonCompatibleResponse()
      • getContentType

        java.lang.String getContentType()
      • getRequestedUri

        java.net.URI getRequestedUri()