public class HttpSessionAdapter<B extends org.wildfly.clustering.ee.Batch> extends Object implements jakarta.servlet.http.HttpSession
| Constructor and Description |
|---|
HttpSessionAdapter(org.wildfly.clustering.web.session.Session<LocalSessionContext> session,
CatalinaManager<B> manager,
B batch,
Runnable invalidateAction) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
jakarta.servlet.ServletContext |
getServletContext() |
jakarta.servlet.http.HttpSessionContext |
getSessionContext() |
Object |
getValue(String name) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String name,
Object value) |
void |
removeAttribute(String name) |
void |
removeValue(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public HttpSessionAdapter(org.wildfly.clustering.web.session.Session<LocalSessionContext> session, CatalinaManager<B> manager, B batch, Runnable invalidateAction)
public boolean isNew()
isNew in interface jakarta.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime in interface jakarta.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface jakarta.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface jakarta.servlet.http.HttpSessionpublic Object getAttribute(String name)
getAttribute in interface jakarta.servlet.http.HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface jakarta.servlet.http.HttpSessionpublic void setAttribute(String name, Object value)
setAttribute in interface jakarta.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface jakarta.servlet.http.HttpSessionpublic String getId()
getId in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.ServletContext getServletContext()
getServletContext in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface jakarta.servlet.http.HttpSessionpublic Object getValue(String name)
getValue in interface jakarta.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface jakarta.servlet.http.HttpSessionpublic void putValue(String name, Object value)
putValue in interface jakarta.servlet.http.HttpSessionpublic void removeValue(String name)
removeValue in interface jakarta.servlet.http.HttpSessionCopyright © 2020 JBoss by Red Hat. All rights reserved.