public class Servlet30CometSupport extends AsynchronousProcessor
AtmosphereFramework detect the container
detect Servlet 3.0 Asynch API.AsynchronousProcessor.AsynchronousProcessorHookaliveRequests, cancelledAction, config, timedoutAction| Constructor and Description |
|---|
Servlet30CometSupport(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AtmosphereResourceImpl actionEvent)
Process an
Action from an ActionEvent operation like suspend, resume or timed out. |
java.lang.String |
getContainerName()
Return "javax.servlet".
|
Action |
service(AtmosphereRequest request,
AtmosphereResponse response)
|
cancelled, completeLifecycle, init, invokeAtmosphereHandler, map, map, resumed, shutdown, supportSession, supportWebSocket, suspended, timedout, trackActiveRequestpublic Servlet30CometSupport(AtmosphereConfig config)
public java.lang.String getContainerName()
getContainerName in interface AsyncSupport<AtmosphereResourceImpl>getContainerName in class AsynchronousProcessorpublic Action service(AtmosphereRequest request, AtmosphereResponse response) throws java.io.IOException, javax.servlet.ServletException
request - the AtmosphereRequestresponse - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void action(AtmosphereResourceImpl actionEvent)
Action from an ActionEvent operation like suspend, resume or timed out.action in interface AsyncSupport<AtmosphereResourceImpl>action in class AsynchronousProcessoractionEvent - An instance of ActionCopyright © 2018. All Rights Reserved.