Package ch.rasc.wamp2spring.config
Interface WampConfigurer
- All Known Implementing Classes:
SessionWampServletConfigurer
public interface WampConfigurer
Defines methods for configuring WAMP support.
Used together with EnableServletWamp or EnableReactiveWamp
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers) Adds resolvers to support custom controller method argument types.default voidconfigureClientInboundChannel(org.springframework.messaging.support.AbstractMessageChannel channel) Configures theMessageChannelused for incoming messages from WebSocket clients.default voidconfigureFeatures(Features features) Configures wamp2spring features
-
Method Details
-
configureClientInboundChannel
default void configureClientInboundChannel(org.springframework.messaging.support.AbstractMessageChannel channel) Configures theMessageChannelused for incoming messages from WebSocket clients. -
addArgumentResolvers
default void addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers) Adds resolvers to support custom controller method argument types.This does not override the built-in argument resolvers.
- Parameters:
argumentResolvers- the resolvers to register (initially an empty list)
-
configureFeatures
Configures wamp2spring features@Override void configureFeatures(Features features) { features.disable(Feature.DEALER); }
-