public class DistributableImmutableSession extends Object implements io.undertow.server.session.Session
ImmutableSession.| Constructor and Description |
|---|
DistributableImmutableSession(io.undertow.server.session.SessionManager manager,
ImmutableSession session) |
| Modifier and Type | Method and Description |
|---|---|
String |
changeSessionId(io.undertow.server.HttpServerExchange exchange,
io.undertow.server.session.SessionConfig config) |
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
io.undertow.server.session.SessionManager |
getSessionManager() |
void |
invalidate(io.undertow.server.HttpServerExchange exchange) |
Object |
removeAttribute(String name) |
void |
requestDone(io.undertow.server.HttpServerExchange serverExchange) |
Object |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public DistributableImmutableSession(io.undertow.server.session.SessionManager manager,
ImmutableSession session)
public String getId()
getId in interface io.undertow.server.session.Sessionpublic io.undertow.server.session.SessionManager getSessionManager()
getSessionManager in interface io.undertow.server.session.Sessionpublic void requestDone(io.undertow.server.HttpServerExchange serverExchange)
requestDone in interface io.undertow.server.session.Sessionpublic long getCreationTime()
getCreationTime in interface io.undertow.server.session.Sessionpublic long getLastAccessedTime()
getLastAccessedTime in interface io.undertow.server.session.Sessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface io.undertow.server.session.Sessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface io.undertow.server.session.Sessionpublic Object getAttribute(String name)
getAttribute in interface io.undertow.server.session.Sessionpublic Set<String> getAttributeNames()
getAttributeNames in interface io.undertow.server.session.Sessionpublic Object setAttribute(String name, Object value)
setAttribute in interface io.undertow.server.session.Sessionpublic Object removeAttribute(String name)
removeAttribute in interface io.undertow.server.session.Sessionpublic void invalidate(io.undertow.server.HttpServerExchange exchange)
invalidate in interface io.undertow.server.session.Sessionpublic String changeSessionId(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig config)
changeSessionId in interface io.undertow.server.session.SessionCopyright © 2020 JBoss by Red Hat. All rights reserved.