public class InterceptableWebMvcStompEndpointRegistry
extends org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
WebMvcStompEndpointRegistry| 构造器和说明 |
|---|
InterceptableWebMvcStompEndpointRegistry(org.springframework.web.socket.WebSocketHandler webSocketHandler,
org.springframework.web.socket.config.annotation.WebSocketTransportRegistration transportRegistration,
org.springframework.scheduling.TaskScheduler defaultSockJsTaskScheduler) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration |
addEndpoint(String... paths) |
InterceptableWebMvcStompEndpointRegistry |
addFromClientInterceptor(FromClientInterceptor interceptor) |
InterceptableWebMvcStompEndpointRegistry |
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) |
InterceptableWebMvcStompEndpointRegistry |
setErrorHandler(org.springframework.web.socket.messaging.StompSubProtocolErrorHandler errorHandler) |
void |
setOrder(int order) |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper) |
public InterceptableWebMvcStompEndpointRegistry(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 在接口中 org.springframework.web.socket.config.annotation.StompEndpointRegistryaddEndpoint 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setOrder(int order)
setOrder 在接口中 org.springframework.web.socket.config.annotation.StompEndpointRegistrysetOrder 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistryprotected int getOrder()
getOrder 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setUrlPathHelper(@Nullable
org.springframework.web.util.UrlPathHelper urlPathHelper)
setUrlPathHelper 在接口中 org.springframework.web.socket.config.annotation.StompEndpointRegistrysetUrlPathHelper 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry@Nullable protected org.springframework.web.util.UrlPathHelper getUrlPathHelper()
getUrlPathHelper 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic InterceptableWebMvcStompEndpointRegistry setErrorHandler(org.springframework.web.socket.messaging.StompSubProtocolErrorHandler errorHandler)
setErrorHandler 在接口中 org.springframework.web.socket.config.annotation.StompEndpointRegistrysetErrorHandler 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic org.springframework.web.servlet.handler.AbstractHandlerMapping getHandlerMapping()
getHandlerMapping 在类中 org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistrypublic InterceptableWebMvcStompEndpointRegistry addFromClientInterceptor(FromClientInterceptor interceptor)
public InterceptableWebMvcStompEndpointRegistry addToClientInterceptor(ToClientInterceptor interceptor)
Copyright © 2019. All rights reserved.