public class ServletWebSocketHandlerRegistration extends AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
WebSocketHandler
request handling
including SockJS fallback options.Constructor and Description |
---|
ServletWebSocketHandlerRegistration() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings,
SockJsService sockJsService,
WebSocketHandler handler,
String pathPattern) |
protected void |
addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings,
WebSocketHandler webSocketHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
String path) |
protected MultiValueMap<HttpRequestHandler,String> |
createMappings() |
addHandler, addInterceptors, getHandshakeHandler, getInterceptors, getMappings, getSockJsServiceRegistration, setAllowedOrigins, setHandshakeHandler, withSockJS
protected MultiValueMap<HttpRequestHandler,String> createMappings()
createMappings
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
protected void addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings, SockJsService sockJsService, WebSocketHandler handler, String pathPattern)
addSockJsServiceMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
protected void addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings, WebSocketHandler webSocketHandler, HandshakeHandler handshakeHandler, HandshakeInterceptor[] interceptors, String path)
addWebSocketHandlerMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>