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) |
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, Batch batch)
public io.undertow.server.session.SessionManager getSessionManager()
getSessionManager
in interface io.undertow.server.session.Session
public void requestDone(io.undertow.server.HttpServerExchange exchange)
requestDone
in interface io.undertow.server.session.Session
public String getId()
getId
in interface io.undertow.server.session.Session
public long getCreationTime()
getCreationTime
in interface io.undertow.server.session.Session
public long getLastAccessedTime()
getLastAccessedTime
in interface io.undertow.server.session.Session
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface io.undertow.server.session.Session
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface io.undertow.server.session.Session
public Set<String> getAttributeNames()
getAttributeNames
in interface io.undertow.server.session.Session
public Object getAttribute(String name)
getAttribute
in interface io.undertow.server.session.Session
public Object setAttribute(String name, Object value)
setAttribute
in interface io.undertow.server.session.Session
public Object removeAttribute(String name)
removeAttribute
in interface io.undertow.server.session.Session
public void invalidate(io.undertow.server.HttpServerExchange exchange)
invalidate
in interface io.undertow.server.session.Session
public String changeSessionId(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig config)
changeSessionId
in interface io.undertow.server.session.Session
Copyright © 2016 JBoss by Red Hat. All rights reserved.