spring-framework / org.springframework.messaging.simp

Package org.springframework.messaging.simp

Types

SimpAttributesContextHolder

abstract class SimpAttributesContextHolder

Holder class to expose SiMP attributes associated with a session (e.g. WebSocket) in the form of a thread-bound SimpAttributes object.

SimpMessageMappingInfo

open class SimpMessageMappingInfo : MessageCondition<SimpMessageMappingInfo>

Encapsulates the following request mapping conditions:

  1. SimpMessageTypeMessageCondition
  2. DestinationPatternsMessageCondition

SimpMessageTypeMessageCondition

open class SimpMessageTypeMessageCondition : AbstractMessageCondition<SimpMessageTypeMessageCondition>

MessageCondition that matches by the message type obtained via SimpMessageHeaderAccessor#getMessageType(Map).

SimpSessionScope

open class SimpSessionScope : Scope

A Scope implementation exposing the attributes of a SiMP session (e.g. WebSocket session).

Relies on a thread-bound SimpAttributes instance exported by org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.