Class HttpRequestHead

  • All Implemented Interfaces:
    io.vertx.lang.rx.RxDelegate
    Direct Known Subclasses:
    HttpServerRequest

    public class HttpRequestHead
    extends Object
    implements io.vertx.lang.rx.RxDelegate
    The state of the HTTP request head:
    • Method / URI
    • Headers

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<HttpRequestHead> __TYPE_ARG
    • Constructor Detail

      • HttpRequestHead

        public HttpRequestHead​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public HttpRequestHead getDelegate()
        Specified by:
        getDelegate in interface io.vertx.lang.rx.RxDelegate
      • method

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

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

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

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

        public MultiMap headers()
        Returns:
        the headers
      • getHeader

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

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