public class AbstractWampConfigurer extends Object implements WampConfigurer
WampConfigurer interface, providing empty
method.| Constructor and Description |
|---|
AbstractWampConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers)
Add resolvers to support custom controller method argument types.
|
void |
addHandshakeInterceptors(List<org.springframework.web.socket.server.HandshakeInterceptor> handshakeInterceptors) |
void |
configureClientInboundChannel(org.springframework.messaging.support.AbstractMessageChannel channel)
Configure the
MessageChannel used for
incoming messages from WebSocket clients. |
void |
configureWebSocketTransport(WebSocketTransportRegistration registration)
Configure options related to the processing of messages received from and sent to
WebSocket clients.
|
void |
registerWampEndpoints(WampEndpointRegistry registry)
Register WAMP endpoints mapping each to a specific URL and (optionally) enabling
and configuring SockJS fallback options.
|
public void registerWampEndpoints(WampEndpointRegistry registry)
WampConfigurerregisterWampEndpoints in interface WampConfigurerpublic void configureWebSocketTransport(WebSocketTransportRegistration registration)
WampConfigurerconfigureWebSocketTransport in interface WampConfigurerpublic void configureClientInboundChannel(org.springframework.messaging.support.AbstractMessageChannel channel)
WampConfigurerMessageChannel used for
incoming messages from WebSocket clients.configureClientInboundChannel in interface WampConfigurerpublic void addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers)
WampConfigurerThis does not override the built-in argument resolvers.
addArgumentResolvers in interface WampConfigurerargumentResolvers - the resolvers to register (initially an empty list)public void addHandshakeInterceptors(List<org.springframework.web.socket.server.HandshakeInterceptor> handshakeInterceptors)
addHandshakeInterceptors in interface WampConfigurerCopyright © 2014–2017. All rights reserved.