public abstract class BaseAtmosphereServlet extends GenericServlet
Constructor and Description |
---|
BaseAtmosphereServlet(Class<? extends org.atmosphere.cpr.AtmosphereHandler> atmosphereHandler)
Creates a new instance using the given
AtmosphereHandler class. |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(ServletConfig sc) |
void |
service(ServletRequest req,
ServletResponse res) |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public BaseAtmosphereServlet(Class<? extends org.atmosphere.cpr.AtmosphereHandler> atmosphereHandler)
AtmosphereHandler
class.atmosphereHandler
- the atmosphere handler.public void init(ServletConfig sc) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
service
in interface Servlet
service
in class GenericServlet
ServletException
IOException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.