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
MockHttpSession
implementation.
-
-
Constructor Summary
Constructors Constructor Description MockHttpSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MockServletContext
newMockServletContext()
-
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
-
-
-
-
Method Detail
-
newMockServletContext
protected MockServletContext newMockServletContext()
- Overrides:
newMockServletContext
in classorg.apache.sling.servlethelpers.MockHttpSession
-
-