public class MockHttpSessionWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
valueMap |
Constructor and Description |
---|
MockHttpSessionWrapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String key) |
java.util.Enumeration |
getAttributeNames() |
long |
getCreationTime() |
java.lang.String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
ServletContext |
getServletContext() |
HttpSessionContext |
getSessionContext() |
java.lang.Object |
getValue(java.lang.String key) |
java.lang.String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(java.lang.String key,
java.lang.Object value) |
void |
removeAttribute(java.lang.String key) |
void |
removeValue(java.lang.String arg0) |
void |
setAttribute(java.lang.String key,
java.lang.Object value) |
void |
setMaxInactiveInterval(int arg0) |
void |
setSession(SessionContext session) |
public static final java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> valueMap
public void setSession(SessionContext session)
public java.lang.Object getAttribute(java.lang.String key)
public java.util.Enumeration getAttributeNames()
public long getCreationTime()
public java.lang.String getId()
public long getLastAccessedTime()
public int getMaxInactiveInterval()
public ServletContext getServletContext()
public HttpSessionContext getSessionContext()
public java.lang.Object getValue(java.lang.String key)
public java.lang.String[] getValueNames()
public void invalidate()
public boolean isNew()
public void putValue(java.lang.String key, java.lang.Object value)
public void removeAttribute(java.lang.String key)
public void removeValue(java.lang.String arg0)
public void setAttribute(java.lang.String key, java.lang.Object value)
public void setMaxInactiveInterval(int arg0)