Class MessagingMethodInvokerHelper.ParametersWrapper
java.lang.Object
org.springframework.integration.handler.support.MessagingMethodInvokerHelper.ParametersWrapper
- Enclosing class:
- MessagingMethodInvokerHelper
public static class MessagingMethodInvokerHelper.ParametersWrapper extends Object
-
Method Summary
Modifier and Type Method 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()
-
Method Details
-
getHeader
SpEL Function to retrieve a required header.- Parameters:
headers
- the headers.header
- the header name- Returns:
- the header
- Throws:
IllegalArgumentException
- if the header does not exist
-
getPayload
-
getMessages
-
getHeaders
-
getMessage
-
getFirstParameterType
-
toString
-