|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CometSupport<E extends AtmosphereEvent>
Atmosphere's supported WebServer must implement this interface in order
to be auto detected by the AtmosphereServlet. If the AtmosphereServlet
fail to detect the CometSupport, it will use a blocking thread
approach to emulate Comet using the BlockingIOCometSupport.
Framework designed can also add their own implementation of that class.
| Method Summary | |
|---|---|
void |
action(E actionEvent)
Process an AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out. |
String |
getContainerName()
Return the name of the Java Web Server. |
void |
init(ServletConfig sc)
Initialize the WebServer using the ServletConfig |
AtmosphereServlet.Action |
service(HttpServletRequest req,
HttpServletResponse res)
Serve the HttpServletRequest and the HttpServletResponse and return
the appropriate AtmosphereServlet.Action. |
| Method Detail |
|---|
String getContainerName()
void init(ServletConfig sc)
throws ServletException
ServletConfig
sc - the ServletConfig
ServletException
AtmosphereServlet.Action service(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
HttpServletRequest and the HttpServletResponse and return
the appropriate AtmosphereServlet.Action.
req - the HttpServletRequestres - the HttpServletResponse
AtmosphereServlet.Action that was manipulated by the AtmosphereHandler
IOException
ServletExceptionvoid action(E actionEvent)
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
action -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||