public class HttpSessionSimulator
extends java.lang.Object
| Constructor and Description |
|---|
HttpSessionSimulator(ServletContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String s) |
java.util.Enumeration |
getAttributeNames() |
long |
getCreationTime() |
java.lang.String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
ServletContext |
getServletContext() |
HttpSessionContext |
getSessionContext()
This method is not supported.
|
java.lang.Object |
getValue(java.lang.String s) |
java.lang.String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
protected boolean |
isValid() |
void |
putValue(java.lang.String s,
java.lang.Object obj) |
void |
removeAttribute(java.lang.String s) |
void |
removeValue(java.lang.String s) |
void |
setAttribute(java.lang.String s,
java.lang.Object obj) |
void |
setMaxInactiveInterval(int i) |
public java.lang.Object getAttribute(java.lang.String s)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic java.util.Enumeration getAttributeNames()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic long getCreationTime()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic java.lang.String getId()
public long getLastAccessedTime()
public int getMaxInactiveInterval()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic HttpSessionContext getSessionContext()
public java.lang.Object getValue(java.lang.String s)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic java.lang.String[] getValueNames()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void invalidate()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic boolean isNew()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void putValue(java.lang.String s,
java.lang.Object obj)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void removeAttribute(java.lang.String s)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void removeValue(java.lang.String s)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void setAttribute(java.lang.String s,
java.lang.Object obj)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void setMaxInactiveInterval(int i)
public ServletContext getServletContext()
protected boolean isValid()
Copyright ? Deryl Seale All Rights Reserved.