Class MockSessionContext

java.lang.Object
io.github.cdiunit.internal.servlet5.MockSessionContext
All Implemented Interfaces:
jakarta.servlet.http.HttpSessionContext

public class MockSessionContext extends Object implements jakarta.servlet.http.HttpSessionContext
Mock implementation of HttpSessionContext.
  • Constructor Details

    • MockSessionContext

      public MockSessionContext()
  • Method Details

    • getIds

      public Enumeration getIds()
      Specified by:
      getIds in interface jakarta.servlet.http.HttpSessionContext
    • getSession

      public jakarta.servlet.http.HttpSession getSession(String arg0)
      Specified by:
      getSession in interface jakarta.servlet.http.HttpSessionContext