WebSocketHandlerRegistry with Spring MVC handler mappings for the
handshake requests.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final List | |
| private UrlPathHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketHandlerRegistration | addHandler(WebSocketHandler handler, String... paths)
Implements org. Configure a WebSocketHandler at the specified URL paths. |
| public AbstractHandlerMapping | |
| public int | |
| public UrlPathHelper | |
| protected boolean | |
| public void | setOrder(int order)
Set the order for the resulting |
| protected void | setTaskScheduler(TaskScheduler scheduler)
Provide the TaskScheduler to use for SockJS endpoints for which a task scheduler has not been explicitly registered. |
| public void | setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to configure on the |
| order | back to summary |
|---|---|
| private int order | |
| registrations | back to summary |
|---|---|
| private final List<ServletWebSocketHandlerRegistration> registrations | |
| urlPathHelper | back to summary |
|---|---|
| private UrlPathHelper urlPathHelper
| |
| ServletWebSocketHandlerRegistry | back to summary |
|---|---|
| public ServletWebSocketHandlerRegistry() | |
| addHandler | back to summary |
|---|---|
| public WebSocketHandlerRegistration addHandler(WebSocketHandler handler, String... paths) Implements org. Doc from org. Configure a WebSocketHandler at the specified URL paths.
| |
| getHandlerMapping | back to summary |
|---|---|
| public AbstractHandlerMapping getHandlerMapping() | |
| getOrder | back to summary |
|---|---|
| public int getOrder() | |
| getUrlPathHelper | back to summary |
|---|---|
public UrlPathHelper getUrlPathHelper()
| |
| requiresTaskScheduler | back to summary |
|---|---|
| protected boolean requiresTaskScheduler() Whether there are any endpoint SockJS registrations without a TaskScheduler.
This method should be invoked just before | |
| setOrder | back to summary |
|---|---|
| public void setOrder(int order) Set the order for the resulting The default value is 1. | |
| setTaskScheduler | back to summary |
|---|---|
| protected void setTaskScheduler(TaskScheduler scheduler) Provide the TaskScheduler to use for SockJS endpoints for which a task
scheduler has not been explicitly registered. This method must be called
prior to | |
| setUrlPathHelper | back to summary |
|---|---|
| public void setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on the | |