public interface SessionConfig
Modifier and Type | Method and Description |
---|---|
void |
clearSession(HttpServerExchange exchange,
String sessionId)
Clears this session from the exchange, removing the attachment and making any changes to the response necessary,
such as clearing cookies.
|
String |
findSessionId(HttpServerExchange exchange)
Retrieves a session id of an existing session from an exchange.
|
String |
rewriteUrl(String originalUrl,
String sessionId) |
void |
setSessionId(HttpServerExchange exchange,
String sessionId)
Attaches the session to the exchange.
|
void setSessionId(HttpServerExchange exchange, String sessionId)
findSessionId(io.undertow.server.HttpServerExchange)
exchange
- The exchangesession
- The sessionvoid clearSession(HttpServerExchange exchange, String sessionId)
exchange
- The exchangesession
- The sessionString findSessionId(HttpServerExchange exchange)
exchange
- The exchangeCopyright © 2013 JBoss by Red Hat. All Rights Reserved.