public class WebSocketAnnotationMethodMessageHandler
extends org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler
SimpAnnotationMethodMessageHandler
to provide support
for ControllerAdvice
with global @MessageExceptionHandler
methods.Constructor and Description |
---|
WebSocketAnnotationMethodMessageHandler(org.springframework.messaging.SubscribableChannel clientInChannel,
org.springframework.messaging.MessageChannel clientOutChannel,
org.springframework.messaging.simp.SimpMessageSendingOperations brokerTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
createExceptionHandlerMethodResolverFor, getConversionService, getDestination, getDirectLookupDestinations, getHeaderInitializer, getLookupDestination, getMappingComparator, getMappingForMethod, getMatchingMapping, getMessageConverter, getPathMatcher, getPhase, getValidator, handleMatch, initArgumentResolvers, initReturnValueHandlers, isAutoStartup, isHandler, isRunning, resolveEmbeddedValuesInDestinations, setConversionService, setDestinationPrefixes, setEmbeddedValueResolver, setHeaderInitializer, setMessageConverter, setPathMatcher, setValidator, start, stop, stop
createHandlerMethod, detectHandlerMethods, getApplicationContext, getArgumentResolvers, getCustomArgumentResolvers, getCustomReturnValueHandlers, getDestinationPrefixes, getExceptionHandlerMethod, getHandlerMethods, getReturnValueHandlers, handleMessage, handleMessageInternal, handleNoMatch, processHandlerMethodException, registerExceptionHandlerAdvice, registerHandlerMethod, setApplicationContext, setArgumentResolvers, setCustomArgumentResolvers, setCustomReturnValueHandlers, setReturnValueHandlers, toString
public WebSocketAnnotationMethodMessageHandler(org.springframework.messaging.SubscribableChannel clientInChannel, org.springframework.messaging.MessageChannel clientOutChannel, org.springframework.messaging.simp.SimpMessageSendingOperations brokerTemplate)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler<org.springframework.messaging.simp.SimpMessageMappingInfo>