Package lumis.portal.atmosphere
Class BaseAtmosphereServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- lumis.portal.atmosphere.BaseAtmosphereServlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
ActivityStreamAtmosphereServlet
,LogServlet
public abstract class BaseAtmosphereServlet extends GenericServlet
Base Atmosphere Servlet.- Since:
- 9.0.0
- Version:
- $Revision: 19712 $ $Date: 2016-12-27 19:02:46 -0200 (Tue, 27 Dec 2016) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseAtmosphereServlet(Class<? extends org.atmosphere.cpr.AtmosphereHandler> atmosphereHandler)
Creates a new instance using the givenAtmosphereHandler
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
init(ServletConfig sc)
void
service(ServletRequest req, ServletResponse res)
-
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
-
-
-
Constructor Detail
-
BaseAtmosphereServlet
public BaseAtmosphereServlet(Class<? extends org.atmosphere.cpr.AtmosphereHandler> atmosphereHandler)
Creates a new instance using the givenAtmosphereHandler
class.- Parameters:
atmosphereHandler
- the atmosphere handler.- Since:
- 9.0.0
-
-
Method Detail
-
init
public void init(ServletConfig sc) throws ServletException
- Specified by:
init
in interfaceServlet
- Overrides:
init
in classGenericServlet
- Throws:
ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceServlet
- Overrides:
destroy
in classGenericServlet
-
service
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
- Specified by:
service
in interfaceServlet
- Specified by:
service
in classGenericServlet
- Throws:
ServletException
IOException
-
-