public static class MessagingMethodInvokerHelper.ParametersWrapper extends Object
Modifier and Type | Method and Description |
---|---|
Class<?> |
getFirstParameterType() |
static Object |
getHeader(Map<?,?> headers,
String header)
SpEL Function to retrieve a required header.
|
Map<String,Object> |
getHeaders() |
Message<?> |
getMessage() |
Collection<Message<?>> |
getMessages() |
Object |
getPayload() |
String |
toString() |
public static Object getHeader(Map<?,?> headers, String header)
headers
- the headers.header
- the header nameIllegalArgumentException
- if the header does not existpublic Object getPayload()
public Collection<Message<?>> getMessages()
public Message<?> getMessage()
public Class<?> getFirstParameterType()