Class RequestWrapper

    • Method Detail

      • resetHeaders

        public void resetHeaders()
        Deprecated.
      • getMethod

        public java.lang.String getMethod()
        Deprecated.
        Description copied from interface: HttpUriRequest
        Returns the HTTP method this request uses, such as GET, PUT, POST, or other.
        Specified by:
        getMethod in interface HttpUriRequest
      • setMethod

        public void setMethod​(java.lang.String method)
        Deprecated.
      • setProtocolVersion

        public void setProtocolVersion​(ProtocolVersion version)
        Deprecated.
      • getURI

        public java.net.URI getURI()
        Deprecated.
        Description copied from interface: HttpUriRequest
        Returns the URI this request uses, such as http://example.org/path/to/file.

        Note that the URI may be absolute URI (as above) or may be a relative URI.

        Implementations are encouraged to return the URI that was initially requested.

        To find the final URI after any redirects have been processed, please see the section entitled HTTP execution context in the HttpClient Tutorial

        Specified by:
        getURI in interface HttpUriRequest
      • setURI

        public void setURI​(java.net.URI uri)
        Deprecated.
      • getRequestLine

        public RequestLine getRequestLine()
        Deprecated.
        Description copied from interface: HttpRequest
        Returns the request line of this request.
        Specified by:
        getRequestLine in interface HttpRequest
        Returns:
        the request line.
      • abort

        public void abort()
                   throws java.lang.UnsupportedOperationException
        Deprecated.
        Description copied from interface: HttpUriRequest
        Aborts execution of the request.
        Specified by:
        abort in interface HttpUriRequest
        Throws:
        java.lang.UnsupportedOperationException - if the abort operation is not supported / cannot be implemented.
      • isAborted

        public boolean isAborted()
        Deprecated.
        Description copied from interface: HttpUriRequest
        Tests if the request execution has been aborted.
        Specified by:
        isAborted in interface HttpUriRequest
        Returns:
        true if the request execution has been aborted, false otherwise.
      • getOriginal

        public HttpRequest getOriginal()
        Deprecated.
      • isRepeatable

        public boolean isRepeatable()
        Deprecated.
      • getExecCount

        public int getExecCount()
        Deprecated.
      • incrementExecCount

        public void incrementExecCount()
        Deprecated.