クラス MessageMappingReflectiveProcessor
java.lang.ObjectSE
org.springframework.messaging.handler.annotation.MessageMappingReflectiveProcessor
- 実装されたすべてのインターフェース:
ReflectiveProcessor
@MessageMapping
、@SubscribeMapping
、@MessageExceptionHandler
でアノテーションが付けられた型の ReflectiveProcessor
実装。アノテーション付きメソッドを呼び出すためのリフレクションヒントを登録することに加えて、この実装は以下を処理します。- 戻り型
- 潜在的なペイロードとして特定されたパラメーター
Message
パラメーター@MessageExceptionHandler
で指定された例外クラス
- 導入:
- 6.0
- 作成者:
- Sebastien Deleuze
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected boolean
couldBePayload
(MethodParameter methodParameter) protected TypeSE
getMessageType
(MethodParameter parameter) protected void
registerMessageExceptionHandlerHints
(ReflectionHints hints, MessageExceptionHandler annotation) protected void
registerMethodHints
(ReflectionHints hints, MethodSE method) protected void
registerParameterHints
(ReflectionHints hints, MethodSE method) void
registerReflectionHints
(ReflectionHints hints, AnnotatedElementSE element) 指定されたAnnotatedElement
SE に対してReflectionHints
を登録します。protected void
registerReturnValueHints
(ReflectionHints hints, MethodSE method) protected void
registerTypeHints
(ReflectionHints hints, ClassSE<?> type)
コンストラクターの詳細
MessageMappingReflectiveProcessor
public MessageMappingReflectiveProcessor()
メソッドの詳細
registerReflectionHints
インターフェースからコピーされた説明:ReflectiveProcessor
指定されたAnnotatedElement
SE に対してReflectionHints
を登録します。- 次で指定:
- インターフェース
ReflectiveProcessor
のregisterReflectionHints
- パラメーター:
hints
- 使用するリフレクションヒントインスタンスelement
- 処理する要素
registerTypeHints
registerMethodHints
registerParameterHints
registerMessageExceptionHandlerHints
protected void registerMessageExceptionHandlerHints(ReflectionHints hints, MessageExceptionHandler annotation) couldBePayload
registerReturnValueHints
getMessageType