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: 24996 $ $Date: 2022-05-05 19:14:11 -0300 (Thu, 05 May 2022) $
- 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
-
-