Interface WebRequest

All Superinterfaces:
BaseRequest, Request

public interface WebRequest extends Request

A request with supports for path parameters and body decoding based on the request content type.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • pathParameters

      PathParameters pathParameters()

      Returns the request path parameters.

      Returns:
      the path parameters
    • body

      Description copied from interface: Request

      Returns the request body used to consume request payload.

      Specified by:
      body in interface Request
      Returns:
      an optional returning the request body or an empty optional if the request has no payload