Interface HttpSessionFactory<S,​C>

  • Type Parameters:
    S - the specification type for the HttpSession
    C - the specification type for the ServletContext
    All Known Subinterfaces:
    HttpSessionActivationListenerProvider<S,​C,​L>, SpecificationProvider<S,​C,​AL>

    public interface HttpSessionFactory<S,​C>
    Factory for creating HttpSession specification implementations
    Author:
    Paul Ferraro
    • Method Detail

      • createHttpSession

        S createHttpSession​(ImmutableSession session,
                            C context)
        Create an HttpSession specification implementation for the specified session and servlet context.
        Parameters:
        session - a session
        context - a servlet context
        Returns:
        a HttpSession specification implementation