Class MockHttpSession
java.lang.Object
org.apache.sling.servlethelpers.MockHttpSession
org.apache.sling.testing.mock.sling.servlet.MockHttpSession
- All Implemented Interfaces:
javax.servlet.http.HttpSession
public final class MockHttpSession
extends org.apache.sling.servlethelpers.MockHttpSession
Mock
HttpSession
implementation.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sling.servlethelpers.MockHttpSession
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isInvalidated, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval, setNew
-
Constructor Details
-
MockHttpSession
public MockHttpSession()
-
-
Method Details
-
newMockServletContext
- Overrides:
newMockServletContext
in classorg.apache.sling.servlethelpers.MockHttpSession
-