public class WampConfigurerAdapter extends Object implements WampConfigurer
WampConfigurer interface. A @Configuration
class can implement the WampConfigurer interface or subclass this
class.| Constructor and Description |
|---|
WampConfigurerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Executor outboundExecutor()
WampConfigurerExecutor which is used for sending outbound WAMP
messages.outboundExecutor in interface WampConfigurerpublic String wampEndpointPath()
WampConfigurerwampEndpointPath in interface WampConfigurerpublic com.fasterxml.jackson.databind.ObjectMapper objectMapper()
WampConfigurerObjectMapper instance. This mapper is used
for serializing and deserializing wamp messages.objectMapper in interface WampConfigurerpublic org.springframework.core.convert.ConversionService conversionService()
WampConfigurerWampMessageBodyMethodArgumentResolverconversionService in interface WampConfigurerpublic void configureWampWebsocketHandler(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration reg)
WampConfigurerconfigureWampWebsocketHandler in interface WampConfigurerCopyright © 2014. All Rights Reserved.