Package com.ponysdk.core.servlet

Examples of com.ponysdk.core.servlet.WebSocketServlet


        if (servletConextFilter == null) servletConextFilter = new ServletContextFilter();

        final ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
        context.setContextPath("/" + applicationContextName);
        context.addServlet(new ServletHolder(new StreamServiceServlet()), MAPPING_STREAM);
        context.addServlet(new ServletHolder(new WebSocketServlet()), MAPPING_WS);
        context.addServlet(new ServletHolder(bootstrapServlet), MAPPING_BOOTSTRAP);
        context.addServlet(new ServletHolder(httpServlet), MAPPING_TERMINAL);

        context.getSessionHandler().getSessionManager().setMaxInactiveInterval(60 * sessionTimeout);

 
View Full Code Here

TOP

Related Classes of com.ponysdk.core.servlet.WebSocketServlet

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.