public class PushServletContainerInitializer extends AbstractServletContainerInitializer
PushServlet should be registered automatically on application startup.| Constructor and Description |
|---|
PushServletContainerInitializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStartup(Set<Class<?>> clasess,
javax.servlet.ServletContext servletContext)
If Atmosphere is on classpath and
PushFilter wasn't registered in current ServletContext,
the PushServlet will be registered automatically. |
getServletRegistration, hasFilterMappingpublic void onStartup(Set<Class<?>> clasess, javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
PushFilter wasn't registered in current ServletContext,
the PushServlet will be registered automatically.javax.servlet.ServletExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.