Example usage for Java org.springframework.web.socket.messaging SubProtocolHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
List | getSupportedProtocols() Return the list of sub-protocols supported by this handler (never null ). |
void | handleMessageFromClient(WebSocketSession session, WebSocketMessage> message, MessageChannel outputChannel) Handle the given WebSocketMessage received from a client. |
String | resolveSessionId(Message> message) Resolve the session id from the given message or return null . |