Class StaticShellMessageHeaderAccessor
java.lang.Object
org.springframework.shell.component.message.StaticShellMessageHeaderAccessor
Lightweight type-safe header accessor avoiding object creation just to access
 a header.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic EventLoop.TypegetEventType(org.springframework.messaging.Message<?> message) Get aEventLoop.Typeheader if present.static UUIDgetId(org.springframework.messaging.Message<?> message) static IntegergetPriority(org.springframework.messaging.Message<?> message) static reactor.util.context.ContextViewgetReactorContext(org.springframework.messaging.Message<?> message) Get aContextViewheader if present.static LonggetTimestamp(org.springframework.messaging.Message<?> message) static ViewgetView(org.springframework.messaging.Message<?> message) 
- 
Method Details- 
getId
- 
getTimestamp
- 
getPriority
- 
getView
- 
getReactorContextpublic static reactor.util.context.ContextView getReactorContext(org.springframework.messaging.Message<?> message) Get aContextViewheader if present.- Parameters:
- message- the message to get a header from.
- Returns:
- the ContextViewheader if present.
 
- 
getEventTypeGet aEventLoop.Typeheader if present.- Parameters:
- message- the message to get a header from.
- Returns:
- the EventLoop.Typeheader if present.
 
 
-