Interface HessianConnection

    • Method Detail

      • addHeader

        void addHeader​(java.lang.String key,
                       java.lang.String value)
        Adds HTTP headers.
      • getOutputStream

        java.io.OutputStream getOutputStream()
                                      throws java.io.IOException
        Returns the output stream for the request.
        Throws:
        java.io.IOException
      • sendRequest

        void sendRequest()
                  throws java.io.IOException
        Sends the query
        Throws:
        java.io.IOException
      • getStatusCode

        int getStatusCode()
        Returns the status code.
      • getStatusMessage

        java.lang.String getStatusMessage()
        Returns the status string.
      • getContentEncoding

        java.lang.String getContentEncoding()
        Returns the content encoding
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Returns the InputStream to the result
        Throws:
        java.io.IOException
      • close

        void close()
            throws java.io.IOException
        Close/free the connection. If keepalive is allowed, it may be used.
        Throws:
        java.io.IOException
      • destroy

        void destroy()
              throws java.io.IOException
        Shut the connection down.
        Throws:
        java.io.IOException