Interface DirectHandler.TransportRequest

All Known Implementing Classes:
DirectTransportRequest
Enclosing interface:
DirectHandler

public static interface DirectHandler.TransportRequest
Request information. Note that the information may not be according to specification, as this marks a bad request (by definition).
  • Method Details

    • empty

      Create an empty transport request. This is usually used when an error occurs before we could parse request information.
      Returns:
      empty transport request
    • protocolVersion

      String protocolVersion()
      Protocol version (either from actual request, or guessed).
      Returns:
      protocol version
    • method

      String method()
      HTTP method.
      Returns:
      method
    • path

      String path()
      Requested path, if found in request.
      Returns:
      uri or an empty string
    • headers

      Headers, if found in request.
      Returns:
      headers or an empty map