@AsyncSupportService
public class JBossAPRAsyncSupport
extends org.atmosphere.cpr.AsynchronousProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_EVENT |
| Constructor and Description |
|---|
JBossAPRAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(org.atmosphere.cpr.AtmosphereResourceImpl actionEvent) |
org.atmosphere.cpr.Action |
cancelled(org.atmosphere.cpr.AtmosphereRequest req,
org.atmosphere.cpr.AtmosphereResponse res) |
org.atmosphere.cpr.Action |
service(org.atmosphere.cpr.AtmosphereRequest req,
org.atmosphere.cpr.AtmosphereResponse res)
Invoked by the Tomcat AIO when a Comet request gets detected.
|
public static final String HTTP_EVENT
public JBossAPRAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
public org.atmosphere.cpr.Action service(org.atmosphere.cpr.AtmosphereRequest req,
org.atmosphere.cpr.AtmosphereResponse res)
throws IOException,
javax.servlet.ServletException
req - the AtmosphereRequestres - the AtmosphereResponseIOExceptionjavax.servlet.ServletExceptionpublic org.atmosphere.cpr.Action cancelled(org.atmosphere.cpr.AtmosphereRequest req,
org.atmosphere.cpr.AtmosphereResponse res)
throws IOException,
javax.servlet.ServletException
cancelled in class org.atmosphere.cpr.AsynchronousProcessorIOExceptionjavax.servlet.ServletExceptionpublic void action(org.atmosphere.cpr.AtmosphereResourceImpl actionEvent)
action in interface org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>action in class org.atmosphere.cpr.AsynchronousProcessorCopyright © 2013. All Rights Reserved.