Class PostRequestResult

    • Constructor Detail

      • PostRequestResult

        public PostRequestResult​(boolean isRedirect,
                                 String content,
                                 String contentType)
        Deprecated.
      • PostRequestResult

        @Deprecated
        public PostRequestResult​(boolean isRedirect,
                                 String content,
                                 String contentType,
                                 String encoding)
        Deprecated.
        use HttpResponseWrapper in connection with HttpPostRequestBuilder instead
        Parameters:
        isRedirect - Whether the HTTP response contained a redirect.
        content - The body content of the HTTP response.
        contentType - Content type of the response body.
        encoding - The encoding of the HTTP response (when the content type is text)
      • PostRequestResult

        @Deprecated
        public PostRequestResult​(boolean isRedirect,
                                 String content,
                                 String contentType,
                                 String encoding,
                                 int responseCode,
                                 String responseMessage)
        Deprecated.
        use HttpResponseWrapper in connection with HttpPostRequestBuilder instead
        Parameters:
        isRedirect - Whether the HTTP response contained a redirect.
        content - The body content of the HTTP response.
        contentType - Content type of the response body.
        encoding - The encoding of the HTTP response (when the content type is text)
        responseCode - Status code of the HTTP response.
        responseMessage - Status line of the HTTP response.
      • PostRequestResult

        @Deprecated
        public PostRequestResult​(boolean isRedirect,
                                 String content,
                                 String encoding,
                                 HttpURLConnection httpConn)
                          throws IOException
        Deprecated.
        use HttpResponseWrapper in connection with HttpPostRequestBuilder instead
        Parameters:
        isRedirect - Whether the HTTP response contained a redirect.
        content - The body content of the HTTP response.
        encoding - The encoding of the HTTP response (when the content type is text)
        httpConn - The connection that was used to send the request.
        Throws:
        IOException - When the URL could not be read.
    • Method Detail

      • getContent

        public String getContent()
        Deprecated.
      • isRedirect

        public boolean isRedirect()
        Deprecated.
      • getEncoding

        public String getEncoding()
        Deprecated.
      • getContentType

        public String getContentType()
        Deprecated.
      • getResponseCode

        public int getResponseCode()
        Deprecated.
      • getResponseMessage

        public String getResponseMessage()
        Deprecated.