Package io.vertx.core.http

## Interface HttpRequestHead

- All Known Subinterfaces:
    `HttpServerRequest`, `WebServerRequest`

      public interface HttpRequestHead

  The state of the HTTP request head:
  - Method / URI
  - Headers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default String` | `getHeader​(CharSequence headerName)` | Return the first header value with the specified name
    `default String` | `getHeader​(String headerName)` | Return the first header value with the specified name
    `MultiMap` | `headers()` |
    `HttpMethod` | `method()` |
    `String` | `path()` |
    `String` | `query()` |
    `String` | `uri()` |

- - ### 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&amp;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