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