@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface InboundHeaders
Map
or List
. If a
Map
is used, the header name and value is passed in. If List
is used, just the header values are used.
If a single header name is defined, the header type can be used as the parameter type, though List
or Map
can be used too.
The Inbound headers collection is immutable, so the headers Map or List passed in will be immutable too. Attempting to write to the Map or List will result in an UnsupportedOperationException
.public abstract String value
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.