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, init
allowSessionTimeoutRemoval, completeLifecycle, endRequest, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, supportSession, suspended, timedout
public Grizzly2WebSocketSupport(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
AsyncSupport
service
in interface AsyncSupport<AtmosphereResourceImpl>
service
in class Grizzly2CometSupport
req
- the AtmosphereRequest
res
- the AtmosphereResponse
Action
that was manipulated by the AtmosphereHandler
IOException
javax.servlet.ServletException
public String getContainerName()
getContainerName
in interface AsyncSupport<AtmosphereResourceImpl>
getContainerName
in class AsynchronousProcessor
public boolean supportWebSocket()
AsyncSupport
supportWebSocket
in interface AsyncSupport<AtmosphereResourceImpl>
supportWebSocket
in class AsynchronousProcessor
public void shutdown()
shutdown
in class AsynchronousProcessor
Copyright © 2016. All rights reserved.