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.Session
public io.undertow.server.session.SessionManager getSessionManager()
getSessionManager
in interface io.undertow.server.session.Session
public void requestDone(io.undertow.server.HttpServerExchange serverExchange)
requestDone
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 Object getAttribute(String name)
getAttribute
in interface io.undertow.server.session.Session
public Set<String> getAttributeNames()
getAttributeNames
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.