public class GlassFishWebSocketSupport extends GrizzlyCometSupport
cancelledAction, config, timedoutAction| Constructor and Description |
|---|
GlassFishWebSocketSupport(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerName()
Return the container's name.
|
void |
init(javax.servlet.ServletConfig sc)
Init Grizzly's
CometContext that will be used to suspend and resume the response. |
Action |
service(AtmosphereRequest request,
AtmosphereResponse response)
|
void |
shutdown() |
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
action, cancelled, completeallowSessionTimeoutRemoval, completeLifecycle, endRequest, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, supportSession, suspended, timedoutpublic GlassFishWebSocketSupport(AtmosphereConfig config)
public void init(javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
GrizzlyCometSupportCometContext that will be used to suspend and resume the response.init in interface AsyncSupport<AtmosphereResourceImpl>init in class GrizzlyCometSupportsc - the ServletContextjavax.servlet.ServletExceptionpublic void shutdown()
shutdown in class AsynchronousProcessorpublic Action service(AtmosphereRequest request, AtmosphereResponse response) throws IOException, javax.servlet.ServletException
AsyncSupportservice in interface AsyncSupport<AtmosphereResourceImpl>service in class GrizzlyCometSupportrequest - the AtmosphereRequestresponse - 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 AsynchronousProcessorCopyright © 2016. All rights reserved.