All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.web.session.HttpSessionFactory Maven / Gradle / Ivy

Go to download

A set of SPIs for implementing a container-independent distributable HTTP session manager and single sign-on manager for use by a servlet container.

The newest version!
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.web.session;

/**
 * Factory for creating HttpSession specification implementations
 * @param  the specification type for the HttpSession
 * @param  the specification type for the ServletContext
 * @author Paul Ferraro
 */
public interface HttpSessionFactory {
    /**
     * Create an HttpSession specification implementation for the specified session and servlet context.
     * @param session a session
     * @param context a servlet context
     * @return a HttpSession specification implementation
     */
    S createHttpSession(ImmutableSession session, C context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy