WebSessionIdResolver.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEFAULT_HEADER_NAME
Default value for |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | expireSession(ServerWebExchange
the current exchange exchange)Implements org. Instruct the client to end the current session. |
| public String | |
| public List | resolveSessionIds(ServerWebExchange
the current exchange exchange)Implements org. Resolve the session IDs associated with the request. |
| public void | setHeaderName(String
the header name headerName)Set the name of the session header to use for the session ID. The name is used to extract the session ID from the request headers as well to set the session ID on the response headers. |
| public void | setSessionId(ServerWebExchange
the current exchange exchange, String the session ID id)Implements org. Send the given session ID to the client. |
| DEFAULT_HEADER_NAME | back to summary |
|---|---|
| public static final String DEFAULT_HEADER_NAME Default value for | |
| headerName | back to summary |
|---|---|
| private String headerName | |
| HeaderWebSessionIdResolver | back to summary |
|---|---|
| public HeaderWebSessionIdResolver() | |
| expireSession | back to summary |
|---|---|
| public void expireSession(ServerWebExchange exchange) Implements org. Doc from org. Instruct the client to end the current session.
| |
| getHeaderName | back to summary |
|---|---|
| public String getHeaderName() Get the configured header name.
| |
| resolveSessionIds | back to summary |
|---|---|
| public List Implements org. Doc from org. Resolve the session IDs associated with the request.
| |
| setHeaderName | back to summary |
|---|---|
| public void setHeaderName(String headerName) Set the name of the session header to use for the session ID. The name is used to extract the session ID from the request headers as well to set the session ID on the response headers. By default set to
| |
| setSessionId | back to summary |
|---|---|
| public void setSessionId(ServerWebExchange exchange, String id) Implements org. Doc from org. Send the given session ID to the client.
| |