org.apache.empire.struts2.web.servlet
Class ServletSessionWrapper
java.lang.Object
org.apache.empire.struts2.web.servlet.ServletSessionWrapper
- All Implemented Interfaces:
- SessionContext
public class ServletSessionWrapper
- extends Object
- implements SessionContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletSessionWrapper
public ServletSessionWrapper(javax.servlet.http.HttpSession session)
getExternalSession
public Object getExternalSession()
- Specified by:
getExternalSession
in interface SessionContext
getAppContext
public AppContext getAppContext()
- Specified by:
getAppContext
in interface SessionContext
getId
public String getId()
- Specified by:
getId
in interface SessionContext
isNew
public boolean isNew()
- Specified by:
isNew
in interface SessionContext
invalidate
public void invalidate()
- Specified by:
invalidate
in interface SessionContext
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface SessionContext
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime
in interface SessionContext
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface SessionContext
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval
in interface SessionContext
getAttributeNames
public Enumeration<String> getAttributeNames()
- Specified by:
getAttributeNames
in interface SessionContext
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttribute
in interface SessionContext
setAttribute
public void setAttribute(String name,
Object value)
- Specified by:
setAttribute
in interface SessionContext
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interface SessionContext
Copyright © 2008–2014 Apache Software Foundation. All rights reserved.