Interface HttpRequestHead

    • Method Detail

      • method

        HttpMethod method()
        Returns:
        the HTTP method for the request.
      • uri

        String uri()
        Returns:
        the URI of the request. This is usually a relative URI
      • path

        String path()
        Returns:
        The path part of the uri. For example /somepath/somemorepath/someresource.foo
      • query

        String query()
        Returns:
        the query part of the uri. For example someparam=32&someotherparam=x
      • headers

        MultiMap headers()
        Returns:
        the headers
      • getHeader

        default String getHeader​(String headerName)
        Return the first header value with the specified name
        Parameters:
        headerName - the header name
        Returns:
        the header value
      • getHeader

        default String getHeader​(CharSequence headerName)
        Return the first header value with the specified name
        Parameters:
        headerName - the header name
        Returns:
        the header value