public class GlassFishServlet30WebSocketSupport extends Servlet30CometSupport
cancelledAction, config, timedoutAction| Constructor and Description |
|---|
GlassFishServlet30WebSocketSupport(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerName()
Return the container's name.
|
void |
init(javax.servlet.ServletConfig sc)
Initialize the WebServer using the
ServletConfig |
Action |
service(AtmosphereRequest request,
AtmosphereResponse response)
|
void |
shutdown() |
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
action, cancelled, complete, endAsyncContextallowSessionTimeoutRemoval, completeLifecycle, endRequest, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, supportSession, suspended, timedoutpublic GlassFishServlet30WebSocketSupport(AtmosphereConfig config)
public void init(javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
AsyncSupportServletConfiginit in interface AsyncSupport<AtmosphereResourceImpl>init in class AsynchronousProcessorsc - the ServletConfigjavax.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 Servlet30CometSupportrequest - the AtmosphereRequestresponse - 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.