java.lang.Object
org.mule.runtime.extension.api.soap.SoapOutputPayload

public class SoapOutputPayload extends Object
A simple container object that carries the SOAP envelope information and the attachments bounded to the response.
Since:
1.0
  • Constructor Details

    • SoapOutputPayload

      public SoapOutputPayload(org.mule.runtime.api.metadata.TypedValue<InputStream> body, Map<String,org.mule.runtime.api.metadata.TypedValue<InputStream>> attachments, Map<String,org.mule.runtime.api.metadata.TypedValue<String>> headers)
  • Method Details

    • getBody

      public org.mule.runtime.api.metadata.TypedValue<InputStream> getBody()
      Returns:
      The xml response body. Represents the <SOAP:BODY> element
    • getAttachments

      public Map<String,org.mule.runtime.api.metadata.TypedValue<InputStream>> getAttachments()
      Returns:
      A set of attachments bounded to the response, an empty map if there is no attachments.
    • getHeaders

      public Map<String,org.mule.runtime.api.metadata.TypedValue<String>> getHeaders()
      Returns:
      A set of XML SOAP headers. Represents the content inside the <SOAP:HEADERS> element.
    • toString

      public String toString()
      Overrides:
      toString in class Object