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