public class JettyServlet30AsyncSupportWithWebSocket extends Servlet30CometSupport
JettyAsyncSupportWithWebSocket implementation and add Websocket support
to Servlet 3.0.cancelledAction, config, timedoutAction| Constructor and Description |
|---|
JettyServlet30AsyncSupportWithWebSocket(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerName()
Return the container's name.
|
Action |
service(AtmosphereRequest req,
AtmosphereResponse res)
|
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
action, cancelled, complete, endAsyncContextallowSessionTimeoutRemoval, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedoutpublic JettyServlet30AsyncSupportWithWebSocket(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
AsyncSupportservice in interface AsyncSupport<AtmosphereResourceImpl>service in class Servlet30CometSupportreq - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionpublic String getContainerName()
getContainerName in interface AsyncSupport<AtmosphereResourceImpl>getContainerName in class Servlet30CometSupportpublic boolean supportWebSocket()
AsyncSupportsupportWebSocket in interface AsyncSupport<AtmosphereResourceImpl>supportWebSocket in class AsynchronousProcessorCopyright © 2016. All rights reserved.