クラス WebSocketAnnotationMethodMessageHandler
java.lang.ObjectSE
org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler<SimpMessageMappingInfo>
org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler
org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler
- 実装されたすべてのインターフェース:
Aware
、InitializingBean
、ApplicationContextAware
、EmbeddedValueResolverAware
、Lifecycle
、Phased
、SmartLifecycle
、MessageHandler
グローバル
@MessageExceptionHandler
メソッドで ControllerAdvice
のサポートを提供する SimpAnnotationMethodMessageHandler
のサブクラス。- 導入:
- 4.2
- 作成者:
- Rossen Stoyanchev
フィールドサマリー
クラス org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler から継承されたフィールド
logger
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
コンストラクター説明WebSocketAnnotationMethodMessageHandler
(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate) 方法の概要
修飾子と型メソッド説明void
クラス org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler から継承されたメソッド
createExceptionHandlerMethodResolverFor, getConversionService, getDestination, getDirectLookupDestinations, getHandlerMethodLogger, getHeaderInitializer, getLookupDestination, getMappingComparator, getMappingForMethod, getMatchingMapping, getMessageConverter, getPathMatcher, getPhase, getReturnValueHandlerLogger, getValidator, handleMatch, initArgumentResolvers, initReturnValueHandlers, isHandler, isRunning, resolveEmbeddedValuesInDestinations, setConversionService, setDestinationPrefixes, setEmbeddedValueResolver, setHeaderInitializer, setMessageConverter, setPathMatcher, setPhase, setValidator, start, stop, stop
クラス org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler から継承されたメソッド
createHandlerMethod, detectHandlerMethods, getApplicationContext, getArgumentResolvers, getCustomArgumentResolvers, getCustomReturnValueHandlers, getDestinationPrefixes, getExceptionHandlerMethod, getHandlerMethods, getReturnValueHandlers, handleMessage, handleMessageInternal, handleNoMatch, processHandlerMethodException, registerExceptionHandlerAdvice, registerHandlerMethod, setApplicationContext, setArgumentResolvers, setCustomArgumentResolvers, setCustomReturnValueHandlers, setReturnValueHandlers, toString
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isAutoStartup
コンストラクターの詳細
WebSocketAnnotationMethodMessageHandler
public WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate)
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()インターフェースからコピーされた説明:InitializingBean
すべての Bean プロパティを設定し、BeanFactoryAware
、ApplicationContextAware
などを満たした後、包含BeanFactory
によって呼び出されます。このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。
- 次で指定:
- インターフェース
InitializingBean
のafterPropertiesSet
- オーバーライド:
- クラス
AbstractMethodMessageHandler<SimpMessageMappingInfo>
のafterPropertiesSet