Interface Request

All Known Implementing Classes:
JettyRequestWrapper, MutableRequest

public interface Request
  • Method Details

    • getCookies

      Cookies getCookies()
    • getHeaders

      Headers getHeaders()
    • openBodyStream

      InputStream openBodyStream() throws IOException
      Returns:
      Stream for reading the request entity. May be null.
      Throws:
      IOException
    • getMethod

      Method getMethod()
    • getPathArguments

      List<String> getPathArguments()
      Returns:
      Arguments in the URL path corresponding to the regex groups in the pattern of the resource's route.
    • getReference

      Reference getReference()
      Returns:
      Full request URI including query. Note that this may not be the URI that the user agent supplies or sees.
      See Also:
    • getRemoteAddr

      String getRemoteAddr()
      Returns:
      Client IP address. Note that this may not be the user agent IP address, as in the case of e.g. running behind a reverse proxy server.
      See Also:
    • setPathArguments

      void setPathArguments(List<String> pathArguments)
      For testing purposes only.