public class ServletStompEndpointRegistry extends Object implements StompEndpointRegistry
Constructor and Description |
---|
ServletStompEndpointRegistry(WebSocketHandler webSocketHandler,
MutableUserQueueSuffixResolver userQueueSuffixResolver,
TaskScheduler defaultSockJsTaskScheduler) |
Modifier and Type | Method and Description |
---|---|
StompEndpointRegistration |
addEndpoint(String... paths)
Expose a STOMP endpoint at the specified URL path (or paths_.
|
protected AbstractHandlerMapping |
getHandlerMapping()
Returns a handler mapping with the mapped ViewControllers; or
null in case of no registrations. |
public ServletStompEndpointRegistry(WebSocketHandler webSocketHandler, MutableUserQueueSuffixResolver userQueueSuffixResolver, TaskScheduler defaultSockJsTaskScheduler)
public StompEndpointRegistration addEndpoint(String... paths)
StompEndpointRegistry
addEndpoint
in interface StompEndpointRegistry
protected AbstractHandlerMapping getHandlerMapping()
null
in case of no registrations.