Class MessagingMethodInvokerHelper.ParametersWrapper

java.lang.Object
org.springframework.integration.handler.support.MessagingMethodInvokerHelper.ParametersWrapper
Enclosing class:
MessagingMethodInvokerHelper

public static class MessagingMethodInvokerHelper.ParametersWrapper extends Object
  • Method Details

    • getHeader

      public static Object getHeader(Map<?,?> headers, String header)
      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

      public Object getPayload()
    • getMessages

      public Collection<Message<?>> getMessages()
    • getHeaders

      public Map<String,Object> getHeaders()
    • getMessage

      public Message<?> getMessage()
    • getFirstParameterType

      public Class<?> getFirstParameterType()
    • toString

      public String toString()
      Overrides:
      toString in class Object