Interface HttpRequest


public interface HttpRequest
An HTTP request.
Author:
Julien Viet
  • Method Details

    • id

      @Deprecated(forRemoval=true) long id()
      Deprecated, for removal: This API element is subject to removal in a future version.
      the id cannot be guaranteed to be a stable value, it cannot be used for correlation purpose
      Returns:
      the stream id
    • version

      HttpVersion version()
      Returns:
      the request version
    • uri

      String uri()
      Returns:
      the request URI
    • absoluteURI

      String absoluteURI()
      Returns:
      the request absolute URI
    • method

      HttpMethod method()
      Returns:
      the request method
    • headers

      MultiMap headers()
      Returns:
      the request headers
    • remoteAddress

      SocketAddress remoteAddress()
      Returns:
      the request remote peer address