@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface EventHeader
java.lang.String
name
boolean
required
value
name()
@AliasFor(value="name") public abstract java.lang.String value
@AliasFor(value="value") public abstract java.lang.String name
public abstract boolean required
Default is true, leading to an exception if the header is missing. Switch this to false if you prefer a null value in case of a header missing.
true
false
null