org.granite.gravity.glassfish
Class GlassFishWebSocketApplication
java.lang.Object
com.sun.grizzly.websockets.WebSocketAdapter
com.sun.grizzly.websockets.WebSocketApplication
org.granite.gravity.glassfish.GlassFishWebSocketApplication
- All Implemented Interfaces:
- com.sun.grizzly.websockets.WebSocketListener
public class GlassFishWebSocketApplication
- extends com.sun.grizzly.websockets.WebSocketApplication
| Methods inherited from class com.sun.grizzly.websockets.WebSocketApplication |
add, createWebSocket, getSupportedExtensions, getWebSockets, onClose, remove |
| Methods inherited from class com.sun.grizzly.websockets.WebSocketAdapter |
onFragment, onFragment, onMessage, onMessage, onPing, onPong |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassFishWebSocketApplication
public GlassFishWebSocketApplication(ServletContext servletContext,
Gravity gravity,
String mapping)
getSupportedProtocols
public List<String> getSupportedProtocols(List<String> subProtocol)
- Overrides:
getSupportedProtocols in class com.sun.grizzly.websockets.WebSocketApplication
isApplicationRequest
public boolean isApplicationRequest(com.sun.grizzly.tcp.Request request)
- Specified by:
isApplicationRequest in class com.sun.grizzly.websockets.WebSocketApplication
onConnect
public void onConnect(com.sun.grizzly.websockets.WebSocket websocket)
- Specified by:
onConnect in interface com.sun.grizzly.websockets.WebSocketListener- Overrides:
onConnect in class com.sun.grizzly.websockets.WebSocketApplication