public class ServletWebSocketHandlerRegistry extends Object implements WebSocketHandlerRegistry
WebSocketHandlerRegistry that maps WebSocketHandlers to URLs for use
 in a Servlet container.| Constructor and Description | 
|---|
ServletWebSocketHandlerRegistry(ThreadPoolTaskScheduler sockJsTaskScheduler)  | 
| Modifier and Type | Method and Description | 
|---|---|
WebSocketHandlerRegistration | 
addHandler(WebSocketHandler webSocketHandler,
          String... paths)
Configure a WebSocketHandler at the specified URL paths. 
 | 
AbstractHandlerMapping | 
getHandlerMapping()
Return a  
HandlerMapping with mapped HttpRequestHandlers. | 
int | 
getOrder()  | 
UrlPathHelper | 
getUrlPathHelper()  | 
void | 
setOrder(int order)
Set the order for the resulting  
SimpleUrlHandlerMapping relative to
 other handler mappings configured in Spring MVC. | 
void | 
setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to configure on the  
SimpleUrlHandlerMapping
 used to map handshake requests. | 
public ServletWebSocketHandlerRegistry(ThreadPoolTaskScheduler sockJsTaskScheduler)
public WebSocketHandlerRegistration addHandler(WebSocketHandler webSocketHandler, String... paths)
WebSocketHandlerRegistryaddHandler in interface WebSocketHandlerRegistrypublic void setOrder(int order)
SimpleUrlHandlerMapping relative to
 other handler mappings configured in Spring MVC.
 The default value is 1.
public int getOrder()
public void setUrlPathHelper(UrlPathHelper urlPathHelper)
SimpleUrlHandlerMapping
 used to map handshake requests.public UrlPathHelper getUrlPathHelper()
public AbstractHandlerMapping getHandlerMapping()
HandlerMapping with mapped HttpRequestHandlers.