| Package | Description | 
|---|---|
| org.springframework.web.socket.messaging | 
 WebSocket integration for Spring's messaging module. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
StompSubProtocolHandler
A  
SubProtocolHandler for STOMP that supports versions 1.0, 1.1, and 1.2
 of the STOMP specification. | 
| Modifier and Type | Method and Description | 
|---|---|
protected SubProtocolHandler | 
SubProtocolWebSocketHandler.findProtocolHandler(WebSocketSession session)
Find a  
SubProtocolHandler for the given session. | 
SubProtocolHandler | 
SubProtocolWebSocketHandler.getDefaultProtocolHandler()
Return the default sub-protocol handler to use. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Map<java.lang.String,SubProtocolHandler> | 
SubProtocolWebSocketHandler.getProtocolHandlerMap()
Return the sub-protocols keyed by protocol name. 
 | 
java.util.List<SubProtocolHandler> | 
SubProtocolWebSocketHandler.getProtocolHandlers()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SubProtocolWebSocketHandler.setProtocolHandlers(java.util.List<SubProtocolHandler> protocolHandlers)
Configure one or more handlers to use depending on the sub-protocol requested by
 the client in the WebSocket handshake request. 
 |