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, hasFilterMapping
public 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.ServletException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.