程序包 org.springframework.messaging.simp.annotation.support
Support classes for handling messages from simple messaging protocols (like STOMP).
类概要 类 说明 PrincipalMethodArgumentResolver Resolver for arguments of typePrincipal
, includingOptional<Principal>
.SendToMethodReturnValueHandler AHandlerMethodReturnValueHandler
for sending to destinations specified in aSendTo
orSendToUser
method-level annotations.SimpAnnotationMethodMessageHandler A handler for messages delegating to@MessageMapping
and@SubscribeMapping
annotated methods.SubscriptionMethodReturnValueHandler HandlerMethodReturnValueHandler
for replying directly to a subscription.异常错误概要 异常错误 说明 MissingSessionUserException MessagingException
thrown when a session is missing.