Package io.undertow.servlet.api

Examples of io.undertow.servlet.api.ThreadSetupAction


    public io.undertow.server.session.SessionManager createSessionManager(Deployment deployment) {
        SessionContext context = new UndertowSessionContext(deployment);
        IdentifierFactory<String> factory = new IdentifierFactoryAdapter(new SecureRandomSessionIdGenerator());
        final SessionManager<LocalSessionContext, Batch> manager = this.factory.createSessionManager(context, factory, new LocalSessionContextFactory());
        DeploymentInfo info = deployment.getDeploymentInfo();
        ThreadSetupAction action = new ThreadSetupAction() {
            @Override
            public Handle setup(HttpServerExchange exchange) {
                return new Handle() {
                    @Override
                    public void tearDown() {
View Full Code Here

TOP

Related Classes of io.undertow.servlet.api.ThreadSetupAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.