Package org.atmosphere.container

Examples of org.atmosphere.container.JSR356AsyncSupport


                // Hack to make jsr356 works. Pretty ugly.
                DefaultAsyncSupportResolver resolver = new DefaultAsyncSupportResolver(framework.getAtmosphereConfig());
                List<Class<? extends AsyncSupport>> l = resolver.detectWebSocketPresent(false, true);

                if (l.size() == 0 && resolver.testClassExists(DefaultAsyncSupportResolver.JSR356_WEBSOCKET)) {
                    framework.setAsyncSupport(new JSR356AsyncSupport(new AtmosphereConfig(framework) {
                        public ServletContext getServletContext() {
                            return c;
                        }

                        public String getInitParameter(String name) {
View Full Code Here

TOP

Related Classes of org.atmosphere.container.JSR356AsyncSupport

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.