Class MockHttpSessionWrapper
java.lang.Object
net.datenwerke.rs.utils.mockrequest.MockHttpSessionWrapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) longgetId()longintServletContextHttpSessionContextString[]voidbooleanisNew()voidvoidremoveAttribute(String key) voidremoveValue(String arg0) voidsetAttribute(String key, Object value) voidsetMaxInactiveInterval(int arg0) voidsetSession(SessionContext session)
-
Field Details
-
valueMap
-
-
Constructor Details
-
MockHttpSessionWrapper
public MockHttpSessionWrapper()
-
-
Method Details
-
setSession
public void setSession(SessionContext session) -
getAttribute
-
getAttributeNames
-
getCreationTime
public long getCreationTime() -
getId
-
getLastAccessedTime
public long getLastAccessedTime() -
getMaxInactiveInterval
public int getMaxInactiveInterval() -
getServletContext
public ServletContext getServletContext() -
getSessionContext
public HttpSessionContext getSessionContext() -
getValue
-
getValueNames
-
invalidate
public void invalidate() -
isNew
public boolean isNew() -
putValue
-
removeAttribute
-
removeValue
-
setAttribute
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int arg0)
-