Klasse MockHttpSession

java.lang.Object
org.apache.sling.servlethelpers.MockHttpSession
org.apache.sling.testing.mock.sling.servlet.MockHttpSession
Alle implementierten Schnittstellen:
javax.servlet.http.HttpSession

public final class MockHttpSession extends org.apache.sling.servlethelpers.MockHttpSession
Mock HttpSession implementation.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     

    Von Klasse geerbte Methoden org.apache.sling.servlethelpers.MockHttpSession

    getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isInvalidated, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval, setNew

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • MockHttpSession

      public MockHttpSession()
  • Methodendetails

    • newMockServletContext

      protected MockServletContext newMockServletContext()
      Setzt außer Kraft:
      newMockServletContext in Klasse org.apache.sling.servlethelpers.MockHttpSession