Example usage for Java org.springframework.web.reactive.function.server ServerRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | attributes() Get a mutable map of request attributes. |
Mono | bodyToMono(Class extends T> elementClass) Extract the body to a Mono . |
Mono | bodyToMono(ParameterizedTypeReference Extract the body to a Mono . |
ServerRequest | create(ServerWebExchange exchange, List Create a new ServerRequest based on the given ServerWebExchange and message readers. |
ServerWebExchange | exchange() Get the web exchange that this request is based on. |
Headers | headers() Get the headers of this request. |
HttpMethod | method() Get the HTTP method. |
String | methodName() Get the name of the HTTP method. |
String | path() Get the request path. |
String | pathVariable(String name) Get the path variable with the given name, if present. |
Mono extends Principal> | principal() Get the authenticated user for the request, if any. |
Optional | queryParam(String name) Get the first query parameter with the given name, if present. |
Mono | session() Get the web session for this request. |
URI | uri() Get the request URI. |
UriBuilder | uriBuilder() Get a UriBuilderComponents from the URI associated with this ServerRequest . |