Skip to content

Configuring the Atmosphere Servlet

Lance edited this page Jan 5, 2014 · 3 revisions

The AtmosphereServlet is integrated to run inside the TapestryFilter. Therefore configuration of the AtmosphereServlet is done via Tapestry IOC configuration and not in web.xml.

eg

public class AppModule {
   public static void contributeAtmosphereHttpServletRequestFilter(MappedConfiguration<String, String> config) {
      config.add(ApplicationConfig.PROPERTY_NATIVE_COMETSUPPORT, "true");
   }
}

Servlet configuration options are here

Clone this wiki locally