public class DefaultWsHandlerRegistration extends Object implements WsHandlerRegistration
| 构造器和说明 |
|---|
DefaultWsHandlerRegistration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addHandler(AbstractWsServerHandler... handlers)
add AbstractWsServerHandler
|
void |
addInterceptor(org.springframework.web.socket.server.HandshakeInterceptor... interceptors)
add HandshakeInterceptor
|
AbstractWsServerHandler |
getHandler(String handlerClassName)
get AbstractWsServerHandler
|
org.springframework.web.socket.server.HandshakeInterceptor |
getInterceptor(String interceptorClassName)
get HandshakeInterceptor
|
public void addHandler(AbstractWsServerHandler... handlers)
WsHandlerRegistrationaddHandler 在接口中 WsHandlerRegistrationhandlers - AbstractWsServerHandlerpublic void addInterceptor(org.springframework.web.socket.server.HandshakeInterceptor... interceptors)
WsHandlerRegistrationaddInterceptor 在接口中 WsHandlerRegistrationinterceptors - HandshakeInterceptorpublic AbstractWsServerHandler getHandler(String handlerClassName)
WsHandlerRegistrationgetHandler 在接口中 WsHandlerRegistrationhandlerClassName - handler namepublic org.springframework.web.socket.server.HandshakeInterceptor getInterceptor(String interceptorClassName)
WsHandlerRegistrationgetInterceptor 在接口中 WsHandlerRegistrationinterceptorClassName - interceptor nameCopyright © 2018 Pivotal Software, Inc.. All rights reserved.