public class StompEndpointRegistry
extends org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
WebMvcStompEndpointRegistry| Constructor and Description |
|---|
StompEndpointRegistry(org.springframework.web.socket.WebSocketHandler webSocketHandler,
org.springframework.web.socket.config.annotation.WebSocketTransportRegistration transportRegistration,
org.springframework.scheduling.TaskScheduler defaultSockJsTaskScheduler) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration |
addEndpoint(String... paths) |
StompEndpointRegistry |
addFromClientInterceptor(FromClientInterceptor interceptor) |
StompEndpointRegistry |
addToClientInterceptor(ToClientInterceptor interceptor) |
org.springframework.web.servlet.handler.AbstractHandlerMapping |
getHandlerMapping() |
protected int |
getOrder() |
protected org.springframework.web.util.UrlPathHelper |
getUrlPathHelper() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
StompEndpointRegistry |
setErrorHandler(org.springframework.web.socket.messaging.StompSubProtocolErrorHandler errorHandler) |
void |
setOrder(int order) |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper) |
public StompEndpointRegistry(org.springframework.web.socket.WebSocketHandler webSocketHandler,
org.springframework.web.socket.config.annotation.WebSocketTransportRegistration transportRegistration,
org.springframework.scheduling.TaskScheduler defaultSockJsTaskScheduler)
public org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration addEndpoint(String... paths)
addEndpoint in interface org.springframework.web.socket.config.annotation.StompEndpointRegistryaddEndpoint in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistryprotected int getOrder()
getOrder in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setOrder(int order)
setOrder in interface org.springframework.web.socket.config.annotation.StompEndpointRegistrysetOrder in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry@Nullable protected org.springframework.web.util.UrlPathHelper getUrlPathHelper()
getUrlPathHelper in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setUrlPathHelper(@Nullable
org.springframework.web.util.UrlPathHelper urlPathHelper)
setUrlPathHelper in interface org.springframework.web.socket.config.annotation.StompEndpointRegistrysetUrlPathHelper in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic StompEndpointRegistry setErrorHandler(org.springframework.web.socket.messaging.StompSubProtocolErrorHandler errorHandler)
setErrorHandler in interface org.springframework.web.socket.config.annotation.StompEndpointRegistrysetErrorHandler in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic org.springframework.web.servlet.handler.AbstractHandlerMapping getHandlerMapping()
getHandlerMapping in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic StompEndpointRegistry addFromClientInterceptor(FromClientInterceptor interceptor)
public StompEndpointRegistry addToClientInterceptor(ToClientInterceptor interceptor)
Copyright © 2019. All rights reserved.