public class SslSessionConfig extends Object implements SessionConfig
SessionConfig.SessionCookieSource| Constructor and Description |
|---|
SslSessionConfig() |
SslSessionConfig(SessionConfig fallbackSessionConfig) |
| 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) |
SessionConfig.SessionCookieSource |
sessionCookieSource(HttpServerExchange exchange) |
void |
setSessionId(HttpServerExchange exchange,
String sessionId)
Attaches the session to the exchange.
|
public SslSessionConfig(SessionConfig fallbackSessionConfig)
public SslSessionConfig()
public void setSessionId(HttpServerExchange exchange, String sessionId)
SessionConfigSessionConfig.findSessionId(io.undertow.server.HttpServerExchange)setSessionId in interface SessionConfigexchange - The exchangepublic void clearSession(HttpServerExchange exchange, String sessionId)
SessionConfigclearSession in interface SessionConfigexchange - The exchangepublic String findSessionId(HttpServerExchange exchange)
SessionConfigfindSessionId in interface SessionConfigexchange - The exchangepublic SessionConfig.SessionCookieSource sessionCookieSource(HttpServerExchange exchange)
sessionCookieSource in interface SessionConfigpublic String rewriteUrl(String originalUrl, String sessionId)
rewriteUrl in interface SessionConfigCopyright © 2013 JBoss by Red Hat. All Rights Reserved.