public class TestSession extends Object implements javax.servlet.http.HttpSession
| Constructor and Description |
|---|
TestSession() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String key) |
Enumeration |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext() |
Object |
getValue(String arg0) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String arg0,
Object arg1) |
void |
removeAttribute(String key) |
void |
removeValue(String arg0) |
void |
setAttribute(String key,
Object value) |
void |
setMaxInactiveInterval(int arg0) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public Object getAttribute(String key)
getAttribute in interface javax.servlet.http.HttpSessionpublic Enumeration 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.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic Object getValue(String arg0)
getValue in interface javax.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSessionpublic void putValue(String arg0, Object arg1)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String key)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(String arg0)
removeValue in interface javax.servlet.http.HttpSessionpublic void setAttribute(String key, Object value)
setAttribute in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic void setServletContext(javax.servlet.ServletContext servletContext)
Copyright © 2012-2018. All Rights Reserved.