| Constructor and Description |
|---|
DistributableSession(UndertowSessionManager manager,
Session<LocalSessionContext> session,
io.undertow.server.session.SessionConfig config,
org.wildfly.clustering.ee.Batch batch,
Consumer<io.undertow.server.HttpServerExchange> closeTask) |
| 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 exchange) |
Object |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public DistributableSession(UndertowSessionManager manager, Session<LocalSessionContext> session, io.undertow.server.session.SessionConfig config, org.wildfly.clustering.ee.Batch batch, Consumer<io.undertow.server.HttpServerExchange> closeTask)
public io.undertow.server.session.SessionManager getSessionManager()
getSessionManager in interface io.undertow.server.session.Sessionpublic void requestDone(io.undertow.server.HttpServerExchange exchange)
requestDone in interface io.undertow.server.session.Sessionpublic String getId()
getId 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 Set<String> getAttributeNames()
getAttributeNames in interface io.undertow.server.session.Sessionpublic Object getAttribute(String name)
getAttribute 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 © 2021 JBoss by Red Hat. All rights reserved.