public class ServletSessionWrapper extends Object implements SessionContext
| Constructor and Description |
|---|
ServletSessionWrapper(javax.servlet.http.HttpSession session) |
| Modifier and Type | Method and Description |
|---|---|
AppContext |
getAppContext() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
Object |
getExternalSession() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
void |
invalidate() |
boolean |
isNew() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public ServletSessionWrapper(javax.servlet.http.HttpSession session)
public Object getExternalSession()
getExternalSession in interface SessionContextpublic AppContext getAppContext()
getAppContext in interface SessionContextpublic String getId()
getId in interface SessionContextpublic boolean isNew()
isNew in interface SessionContextpublic void invalidate()
invalidate in interface SessionContextpublic long getCreationTime()
getCreationTime in interface SessionContextpublic long getLastAccessedTime()
getLastAccessedTime in interface SessionContextpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface SessionContextpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface SessionContextpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface SessionContextpublic Object getAttribute(String name)
getAttribute in interface SessionContextpublic void setAttribute(String name, Object value)
setAttribute in interface SessionContextpublic void removeAttribute(String name)
removeAttribute in interface SessionContextCopyright © 2008–2020 Apache Software Foundation. All rights reserved.