public interface ServerWebExchange
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
getAttribute(String name)
Return the request attribute value if present.
|
Map<String,Object> |
getAttributes()
Return a mutable map of request attributes for the current exchange.
|
ServerHttpRequest |
getRequest()
Return the current HTTP request.
|
ServerHttpResponse |
getResponse()
Return the current HTTP response.
|
reactor.core.publisher.Mono<WebSession> |
getSession()
Return the web session for the current request.
|
ServerHttpRequest getRequest()
ServerHttpResponse getResponse()
Map<String,Object> getAttributes()
<T> Optional<T> getAttribute(String name)
T - the attribute typename - the attribute namereactor.core.publisher.Mono<WebSession> getSession()
WebSession
for more details.