public class WebMvcWampEndpointRegistry extends Object implements WampEndpointRegistry
| Constructor and Description |
|---|
WebMvcWampEndpointRegistry(org.springframework.web.socket.WebSocketHandler webSocketHandler,
WebSocketTransportRegistration transportRegistration,
org.springframework.scheduling.TaskScheduler defaultSockJsTaskScheduler,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
| Modifier and Type | Method and Description |
|---|---|
WampWebSocketEndpointRegistration |
addEndpoint(String... paths)
Register a WAMP over WebSocket endpoint at the given mapping path.
|
void |
addHandshakeInterceptors(List<org.springframework.web.socket.server.HandshakeInterceptor> interceptors) |
org.springframework.web.servlet.handler.AbstractHandlerMapping |
getHandlerMapping()
Return a handler mapping with the mapped ViewControllers; or
null in case
of no registrations. |
int |
getOrder() |
org.springframework.web.util.UrlPathHelper |
getUrlPathHelper() |
void |
setOrder(int order)
Set the order for the resulting
SimpleUrlHandlerMapping relative to other
handler mappings configured in Spring MVC. |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
Set the UrlPathHelper to configure on the
SimpleUrlHandlerMapping used to
map handshake requests. |
public WebMvcWampEndpointRegistry(org.springframework.web.socket.WebSocketHandler webSocketHandler,
WebSocketTransportRegistration transportRegistration,
org.springframework.scheduling.TaskScheduler defaultSockJsTaskScheduler,
com.fasterxml.jackson.core.JsonFactory jsonFactory)
public void addHandshakeInterceptors(List<org.springframework.web.socket.server.HandshakeInterceptor> interceptors)
public WampWebSocketEndpointRegistration addEndpoint(String... paths)
WampEndpointRegistryaddEndpoint in interface WampEndpointRegistrypublic 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(org.springframework.web.util.UrlPathHelper urlPathHelper)
SimpleUrlHandlerMapping used to
map handshake requests.public org.springframework.web.util.UrlPathHelper getUrlPathHelper()
public org.springframework.web.servlet.handler.AbstractHandlerMapping getHandlerMapping()
null in case
of no registrations.Copyright © 2014–2017. All rights reserved.