public class DistributableSession extends AbstractDistributableSession<Session<LocalSessionContext>>
Session
to an Undertow Session
.Constructor and Description |
---|
DistributableSession(UndertowSessionManager manager,
Session<LocalSessionContext> session,
io.undertow.server.session.SessionConfig config,
Batch batch) |
Modifier and Type | Method and Description |
---|---|
String |
changeSessionId(io.undertow.server.HttpServerExchange exchange,
io.undertow.server.session.SessionConfig config) |
Object |
getAttribute(String name) |
protected Session<LocalSessionContext> |
getSession()
Returns a reference to the delegate session.
|
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) |
getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval
public DistributableSession(UndertowSessionManager manager, Session<LocalSessionContext> session, io.undertow.server.session.SessionConfig config, Batch batch)
public io.undertow.server.session.SessionManager getSessionManager()
protected Session<LocalSessionContext> getSession()
AbstractDistributableSession
getSession
in class AbstractDistributableSession<Session<LocalSessionContext>>
public void requestDone(io.undertow.server.HttpServerExchange exchange)
public void setMaxInactiveInterval(int interval)
public Object getAttribute(String name)
getAttribute
in interface io.undertow.server.session.Session
getAttribute
in class AbstractDistributableSession<Session<LocalSessionContext>>
public void invalidate(io.undertow.server.HttpServerExchange exchange)
public String changeSessionId(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig config)
Copyright © 2015 JBoss by Red Hat. All rights reserved.