public class MutableHttpSession extends Object implements HttpSession
| Modifier and Type | Field and Description |
|---|---|
protected ServletContext |
servletContext |
| Constructor and Description |
|---|
MutableHttpSession(ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String s) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
ServletContext |
getServletContext() |
HttpSessionContext |
getSessionContext() |
Object |
getValue(String s) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String s,
Object o) |
void |
removeAttribute(String s) |
void |
removeValue(String s) |
void |
setAttribute(String s,
Object o) |
void |
setMaxInactiveInterval(int i) |
protected final ServletContext servletContext
public MutableHttpSession(ServletContext servletContext)
public long getCreationTime()
getCreationTime in interface HttpSessionpublic String getId()
getId in interface HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface HttpSessionpublic ServletContext getServletContext()
getServletContext in interface HttpSessionpublic void setMaxInactiveInterval(int i)
setMaxInactiveInterval in interface HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface HttpSessionpublic HttpSessionContext getSessionContext()
getSessionContext in interface HttpSessionpublic Object getAttribute(String s)
getAttribute in interface HttpSessionpublic Object getValue(String s)
getValue in interface HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface HttpSessionpublic String[] getValueNames()
getValueNames in interface HttpSessionpublic void setAttribute(String s, Object o)
setAttribute in interface HttpSessionpublic void putValue(String s, Object o)
putValue in interface HttpSessionpublic void removeAttribute(String s)
removeAttribute in interface HttpSessionpublic void removeValue(String s)
removeValue in interface HttpSessionpublic void invalidate()
invalidate in interface HttpSessionpublic boolean isNew()
isNew in interface HttpSessionCopyright © 2022 MANYDESIGNS s.r.l.. All rights reserved.