spring-framework / org.springframework.messaging.handler.annotation / Headers

Headers

@Target([AnnotationTarget.VALUE_PARAMETER]) class Headers

Annotation which indicates that a method parameter should be bound to the headers of a message. The annotated parameter must be assignable to java.util.Map with String keys and Object values.

Author
Rossen Stoyanchev

Since
4.0

Constructors

<init>

Headers()

Annotation which indicates that a method parameter should be bound to the headers of a message. The annotated parameter must be assignable to java.util.Map with String keys and Object values.