|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.GlassFishv2CometSupport
public class GlassFishv2CometSupport
Comet Portable Runtime implementation on top of Grizzly API included with GlassFish v2.
| Field Summary |
|---|
| Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor |
|---|
EVENT, logger |
| Constructor Summary | |
|---|---|
GlassFishv2CometSupport(AtmosphereServlet.AtmosphereConfig config)
|
|
| Method Summary | |
|---|---|
void |
action(AtmosphereEventImpl actionEvent)
Process an AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out. |
String |
getContainerDottedVersion()
Return the supported version of the Java Web Server |
String |
getContainerName()
Return the name of the Java Web Server. |
void |
init(ServletConfig sc)
Init Grizzly's CometContext that will be used to suspend and
resume the response. |
AtmosphereServlet.Action |
service(HttpServletRequest req,
HttpServletResponse res)
Serve the HttpServletRequest and the HttpServletResponse. |
| Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor |
|---|
cancelled, resumed, suspended, timedout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlassFishv2CometSupport(AtmosphereServlet.AtmosphereConfig config)
| Method Detail |
|---|
public void init(ServletConfig sc)
throws ServletException
CometContext that will be used to suspend and
resume the response.
init in interface CometSupport<AtmosphereEventImpl>init in class AsynchronousProcessorsc - the ServletContext
ServletExceptionpublic String getContainerName()
getContainerName in interface CometSupport<AtmosphereEventImpl>public String getContainerDottedVersion()
getContainerDottedVersion in interface CometSupport<AtmosphereEventImpl>
public AtmosphereServlet.Action service(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException
HttpServletRequest and the HttpServletResponse.
service in interface CometSupport<AtmosphereEventImpl>req - the HttpServletRequestres - the HttpServletResponse
AtmosphereServlet.Action that was manipulated by the AtmosphereHandler
IOException
ServletExceptionpublic void action(AtmosphereEventImpl actionEvent)
AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
action in interface CometSupport<AtmosphereEventImpl>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||