Interface Request

All Superinterfaces:
BaseRequest
All Known Subinterfaces:
WebRequest

public interface Request extends BaseRequest

Represents a client request in a server exchange.

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

    • body

      Optional<? extends RequestBody> body()

      Returns the request body used to consume request payload.

      Returns:
      an optional returning the request body or an empty optional if the request has no payload