Package org.atmosphere.container
Class GlassFishServ30WebSocketSupport
java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.Servlet30CometSupport
org.atmosphere.container.GlassFishServ30WebSocketSupport
- All Implemented Interfaces:
AsyncSupport<AtmosphereResourceImpl>
-
Field Summary
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelledAction, config, timedoutAction -
Constructor Summary
ConstructorsConstructorDescriptionGlassFishServ30WebSocketSupport(AtmosphereConfig config, javax.servlet.ServletContext sc) -
Method Summary
Modifier and TypeMethodDescriptionReturn the container's name.service(AtmosphereRequest req, AtmosphereResponse res) voidshutdown()booleanReturn true if this implementation supports the websocket protocol.Methods inherited from class org.atmosphere.container.Servlet30CometSupport
action, cancelled, complete, endAsyncContextMethods inherited from class org.atmosphere.cpr.AsynchronousProcessor
allowSessionTimeoutRemoval, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, supportSession, suspended, timedout
-
Constructor Details
-
GlassFishServ30WebSocketSupport
-
GlassFishServ30WebSocketSupport
-
-
Method Details
-
service
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException Description copied from interface:AsyncSupport- Specified by:
servicein interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
servicein classServlet30CometSupport- Parameters:
req- theAtmosphereRequestres- theAtmosphereResponse- Returns:
- the
Actionthat was manipulated by theAtmosphereHandler - Throws:
IOExceptionjavax.servlet.ServletException
-
getContainerName
Return the container's name.- Specified by:
getContainerNamein interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
getContainerNamein classServlet30CometSupport- Returns:
- "javax.servlet"
-
supportWebSocket
public boolean supportWebSocket()Description copied from interface:AsyncSupportReturn true if this implementation supports the websocket protocol.- Specified by:
supportWebSocketin interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
supportWebSocketin classAsynchronousProcessor- Returns:
- true if supported
-
shutdown
public void shutdown()- Overrides:
shutdownin classAsynchronousProcessor
-