public interface WampConfigurer
EnableWamp| Modifier and Type | Method and Description |
|---|---|
AuthenticationHandler |
authenticationHandler()
Configures an implementation of the
AuthenticationHandler interface. |
boolean |
authenticationRequired()
When this method returns true, all calls to a wamp server endpoint (methods
annotated with
WampCallListener, WampPublishListener,
WampSubscribeListener or WampUnsubscribeListener) have to be
authenticated. |
AuthenticationSecretProvider |
authenticationSecretProvider()
Configures an implementation of the secret provider interface
AuthenticationSecretProvider for authentication. |
void |
configureWampWebsocketHandler(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration reg)
Doing some additional configuration of the WampWebsocketHandler registration.
|
org.springframework.core.convert.ConversionService |
conversionService()
Configures a ConversionService that is used by the
WampMessageBodyMethodArgumentResolver |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper()
Configures Jackson's
ObjectMapper instance. |
Executor |
outboundExecutor()
Configures an
Executor which is used for sending outbound WAMP messages. |
String |
wampEndpointPath()
Configures the endpoint path where the WebSocket WAMP handler is listening for
requests.
|
Executor outboundExecutor()
Executor which is used for sending outbound WAMP messages.String wampEndpointPath()
com.fasterxml.jackson.databind.ObjectMapper objectMapper()
ObjectMapper instance. This mapper is used for
serializing and deserializing wamp messages.org.springframework.core.convert.ConversionService conversionService()
WampMessageBodyMethodArgumentResolvervoid configureWampWebsocketHandler(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration reg)
AuthenticationSecretProvider authenticationSecretProvider()
AuthenticationSecretProvider for authentication. If not configured the
library creates and uses an instance of the class
NoOpAuthenticationSecretProvider.AuthenticationHandler authenticationHandler()
AuthenticationHandler interface. If not
configured the library creates and uses an instance of the class
DefaultAuthenticationHandler.boolean authenticationRequired()
WampCallListener, WampPublishListener,
WampSubscribeListener or WampUnsubscribeListener) have to be
authenticated.Copyright © 2014–2015. All rights reserved.