Klasse MockHttpSession

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

@Deprecated(since="3.2.0") public final class MockHttpSession extends org.apache.sling.servlethelpers.MockHttpSession
Veraltet.
Mock HttpSession implementation.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    MockHttpSession(org.apache.sling.servlethelpers.MockJakartaHttpSession wrappedSession)
    Veraltet.
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Veraltet.
     

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

    getServletContext, isInvalidated, setNew

    Von Klasse geerbte Methoden org.apache.felix.http.javaxwrappers.HttpSessionWrapper

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

    Von Klasse geerbte Methoden java.lang.Object

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

    • MockHttpSession

      public MockHttpSession(org.apache.sling.servlethelpers.MockJakartaHttpSession wrappedSession)
      Veraltet.
  • Methodendetails

    • newMockServletContext

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