public class Jetty7CometSupport extends AsynchronousProcessor
cancelledAction, config, timedoutAction| Constructor and Description |
|---|
Jetty7CometSupport(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AtmosphereResourceImpl r)
Process an
Action from an ActionEvent operation like suspend, resume or timed out. |
AsyncSupport |
complete(AtmosphereResourceImpl r)
Complete and close the connection associated with an implementation of
AtmosphereResource |
protected org.eclipse.jetty.continuation.Continuation |
getContinuation(AtmosphereRequest req) |
Action |
service(AtmosphereRequest req,
AtmosphereResponse res)
|
allowSessionTimeoutRemoval, cancelled, completeLifecycle, endRequest, getContainerName, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, supportWebSocket, suspended, timedoutpublic Jetty7CometSupport(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
AsyncSupportreq - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionprotected org.eclipse.jetty.continuation.Continuation getContinuation(AtmosphereRequest req)
public void action(AtmosphereResourceImpl r)
AsyncSupportAction from an ActionEvent operation like suspend, resume or timed out.action in interface AsyncSupport<AtmosphereResourceImpl>action in class AsynchronousProcessorr - An instance of Actionpublic AsyncSupport complete(AtmosphereResourceImpl r)
AsyncSupportAtmosphereResourcecomplete in interface AsyncSupport<AtmosphereResourceImpl>complete in class AsynchronousProcessorr - AtmosphereResourceCopyright © 2016. All rights reserved.