Class GyWebSocketApplication
java.lang.Object
org.glassfish.grizzly.websockets.WebSocketAdapter
org.glassfish.grizzly.websockets.WebSocketApplication
org.noear.solon.server.grizzly.websocket.GyWebSocketApplication
- All Implemented Interfaces:
org.glassfish.grizzly.websockets.WebSocketListener
public class GyWebSocketApplication
extends org.glassfish.grizzly.websockets.WebSocketApplication
- Since:
- 3.6
- Author:
- noear
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.grizzly.websockets.WebSocketcreateSocket(org.glassfish.grizzly.websockets.ProtocolHandler handler, org.glassfish.grizzly.http.HttpRequestPacket requestPacket, org.glassfish.grizzly.websockets.WebSocketListener... listeners) getSupportedProtocols(List<String> subProtocol) protected voidhandshake(org.glassfish.grizzly.websockets.HandShake handshake) protected booleanMethods inherited from class org.glassfish.grizzly.websockets.WebSocketApplication
add, createSocket, getSupportedExtensions, getWebSockets, isApplicationRequest, onClose, onConnect, onExtensionNegotiation, remove, upgradeMethods inherited from class org.glassfish.grizzly.websockets.WebSocketAdapter
onFragment, onFragment, onMessage, onMessage, onPing, onPong
-
Constructor Details
-
GyWebSocketApplication
public GyWebSocketApplication()
-
-
Method Details
-
createSocket
public org.glassfish.grizzly.websockets.WebSocket createSocket(org.glassfish.grizzly.websockets.ProtocolHandler handler, org.glassfish.grizzly.http.HttpRequestPacket requestPacket, org.glassfish.grizzly.websockets.WebSocketListener... listeners) - Overrides:
createSocketin classorg.glassfish.grizzly.websockets.WebSocketApplication
-
handshake
protected void handshake(org.glassfish.grizzly.websockets.HandShake handshake) throws org.glassfish.grizzly.websockets.HandshakeException - Overrides:
handshakein classorg.glassfish.grizzly.websockets.WebSocketApplication- Throws:
org.glassfish.grizzly.websockets.HandshakeException
-
getSupportedProtocols
- Overrides:
getSupportedProtocolsin classorg.glassfish.grizzly.websockets.WebSocketApplication
-
onError
- Overrides:
onErrorin classorg.glassfish.grizzly.websockets.WebSocketApplication
-