Example usage for Java org.springframework.web.server ServerWebExchange fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | checkNotModified(Instant lastModified) An overloaded variant of #checkNotModified(String,Instant) with a last-modified timestamp only. |
boolean | checkNotModified(String etag) An overloaded variant of #checkNotModified(String,Instant) with an ETag (entity tag) value only. |
T | getAttribute(String name) Return the request attribute value if present. |
T | getAttributeOrDefault(String name, T defaultValue) Return the request attribute value, or a default, fallback value. |
Map | getAttributes() Return a mutable map of request attributes for the current exchange. |
Mono | getFormData() Return the form data from the body of the request if the Content-Type is "application/x-www-form-urlencoded" or an empty map otherwise. |
String | getLogPrefix() Return a log message prefix to use to correlate messages for this exchange. |
ServerHttpRequest | getRequest() Return the current HTTP request. |
T | getRequiredAttribute(String name) Return the request attribute value or if not present raise an IllegalArgumentException . |
ServerHttpResponse | getResponse() Return the current HTTP response. |
Mono | getSession() Return the web session for the current request. |