public class HttpSessionWrapper
extends Object
implements javax.servlet.http.HttpSession
| Constructor and Description |
|---|
HttpSessionWrapper(javax.servlet.http.HttpSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated.
As of Bunyan (6.0.x)
|
Object |
getValue(String name)
Deprecated.
As of Bunyan (6.0.x)
|
String[] |
getValueNames()
Deprecated.
As of Bunyan (6.0.x)
|
javax.servlet.http.HttpSession |
getWrappedSession() |
int |
hashCode() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String name,
Object value)
Deprecated.
As of Bunyan (6.0.x)
|
void |
removeAttribute(String name) |
void |
removeValue(String name)
Deprecated.
As of Bunyan (6.0.x)
|
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public HttpSessionWrapper(javax.servlet.http.HttpSession session)
public boolean equals(Object obj)
equals in class Objectpublic Object getAttribute(String name)
getAttribute in interface javax.servlet.http.HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionpublic String getId()
getId in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSession@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSession@Deprecated public Object getValue(String name)
getValue in interface javax.servlet.http.HttpSession@Deprecated public String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSession getWrappedSession()
public int hashCode()
hashCode in class Objectpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSession@Deprecated
public void putValue(String name,
Object value)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSession@Deprecated public void removeValue(String name)
removeValue in interface javax.servlet.http.HttpSessionpublic void setAttribute(String name,
Object value)
setAttribute in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface javax.servlet.http.HttpSession