## Uses of Interface
org.springframework.web.socket.messaging.SubProtocolHandler

Packages that use SubProtocolHandler
org.springframework.web.socket.messaging: WebSocket integration for Spring's messaging module.

### Uses of SubProtocolHandler in org.springframework.web.socket.messaging

Classes in org.springframework.web.socket.messaging that implement SubProtocolHandler
`class` `StompSubProtocolHandler` A `SubProtocolHandler` for STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification.

Methods in org.springframework.web.socket.messaging that return SubProtocolHandler
`protected SubProtocolHandler` SubProtocolWebSocketHandler.`findProtocolHandler(WebSocketSession session)` Find a `SubProtocolHandler` for the given session.
`SubProtocolHandler` SubProtocolWebSocketHandler.`getDefaultProtocolHandler()` Return the default sub-protocol handler to use.

Methods in org.springframework.web.socket.messaging that return types with arguments of type SubProtocolHandler
`Map<String,SubProtocolHandler>` SubProtocolWebSocketHandler.`getProtocolHandlerMap()` Return the sub-protocols keyed by protocol name.
`List<SubProtocolHandler>` SubProtocolWebSocketHandler.`getProtocolHandlers()`

Methods in org.springframework.web.socket.messaging with parameters of type SubProtocolHandler
`void` SubProtocolWebSocketHandler.`addProtocolHandler(SubProtocolHandler handler)` Register a sub-protocol handler.
`void` SubProtocolWebSocketHandler.`setDefaultProtocolHandler(SubProtocolHandler defaultProtocolHandler)` Set the `SubProtocolHandler` to use when the client did not request a sub-protocol.

Method parameters in org.springframework.web.socket.messaging with type arguments of type SubProtocolHandler
`void` 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.