Uses of Interface
org.springframework.web.socket.messaging.SubProtocolHandler
Package
Description
WebSocket integration for Spring's messaging module.
-
Uses of SubProtocolHandler in org.springframework.web.socket.messaging
Modifier and TypeClassDescriptionclass
ASubProtocolHandler
for STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification.Modifier and TypeMethodDescriptionprotected final SubProtocolHandler
SubProtocolWebSocketHandler.findProtocolHandler
(WebSocketSession session) Find aSubProtocolHandler
for the given session.SubProtocolWebSocketHandler.getDefaultProtocolHandler()
Return the default sub-protocol handler to use.Modifier and TypeMethodDescriptionSubProtocolWebSocketHandler.getProtocolHandlerMap()
Return the sub-protocols keyed by protocol name.SubProtocolWebSocketHandler.getProtocolHandlers()
Modifier and TypeMethodDescriptionvoid
SubProtocolWebSocketHandler.addProtocolHandler
(SubProtocolHandler handler) Register a sub-protocol handler.void
SubProtocolWebSocketHandler.setDefaultProtocolHandler
(SubProtocolHandler defaultProtocolHandler) Set theSubProtocolHandler
to use when the client did not request a sub-protocol.Modifier and TypeMethodDescriptionvoid
SubProtocolWebSocketHandler.setProtocolHandlers
(List<SubProtocolHandler> protocolHandlers) Configure one or more handlers to use depending on the sub-protocol requested by the client in the WebSocket handshake request.