Interface HttpUriRequest

    • Method Detail

      • getMethod

        java.lang.String getMethod()
        Returns the HTTP method this request uses, such as GET, PUT, POST, or other.
      • getURI

        java.net.URI getURI()
        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

      • abort

        void abort()
            throws java.lang.UnsupportedOperationException
        Aborts execution of the request.
        Throws:
        java.lang.UnsupportedOperationException - if the abort operation is not supported / cannot be implemented.
      • isAborted

        boolean isAborted()
        Tests if the request execution has been aborted.
        Returns:
        true if the request execution has been aborted, false otherwise.