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