Package | Description |
---|---|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.mock.web.server |
Mock implementations of Spring's reactive server web API abtsractions.
|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.server |
Core interfaces and classes for Spring's generic, reactive web support.
|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.server.session |
Auxiliary interfaces and implementation classes for
WebSession support. |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
MockServerRequest.session() |
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.session(WebSession session) |
Modifier and Type | Class and Description |
---|---|
class |
MockWebSession
Implementation of
WebSession that delegates to a session instance
obtained via InMemoryWebSessionStore . |
Modifier and Type | Method and Description |
---|---|
MockServerWebExchange.Builder |
MockServerWebExchange.Builder.session(WebSession session)
Set the session to use for the exchange.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
ServerRequest.session()
Get the web session for this request.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
ServerRequestWrapper.session() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
ServerWebExchangeDecorator.getSession() |
reactor.core.publisher.Mono<WebSession> |
ServerWebExchange.getSession()
Return the web session for the current request.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
DefaultServerWebExchange.getSession() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
WebSessionStore.createWebSession()
Create a new WebSession.
|
reactor.core.publisher.Mono<WebSession> |
InMemoryWebSessionStore.createWebSession() |
reactor.core.publisher.Mono<WebSession> |
WebSessionManager.getSession(ServerWebExchange exchange)
Return the
WebSession for the given exchange. |
reactor.core.publisher.Mono<WebSession> |
DefaultWebSessionManager.getSession(ServerWebExchange exchange) |
Map<String,WebSession> |
InMemoryWebSessionStore.getSessions()
Return the map of sessions with an
unmodifiable wrapper. |
reactor.core.publisher.Mono<WebSession> |
WebSessionStore.retrieveSession(String sessionId)
Return the WebSession for the given id.
|
reactor.core.publisher.Mono<WebSession> |
InMemoryWebSessionStore.retrieveSession(String id) |
reactor.core.publisher.Mono<WebSession> |
WebSessionStore.updateLastAccessTime(WebSession webSession)
Update the last accessed timestamp to "now".
|
reactor.core.publisher.Mono<WebSession> |
InMemoryWebSessionStore.updateLastAccessTime(WebSession session) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<WebSession> |
WebSessionStore.updateLastAccessTime(WebSession webSession)
Update the last accessed timestamp to "now".
|
reactor.core.publisher.Mono<WebSession> |
InMemoryWebSessionStore.updateLastAccessTime(WebSession session) |