java.lang.Object
org.mule.runtime.extension.api.soap.message.DispatchingRequest

public class DispatchingRequest extends Object
A context with all the required information for a MessageDispatcher to properly dispatch the Soap message.
Since:
1.0
  • Constructor Details

  • Method Details

    • getAddress

      public String getAddress()
      Returns:
      the address where the service lives.
    • getContent

      public InputStream getContent()
      Returns:
      the raw message content.
    • getContentType

      public String getContentType()
      Returns:
      the content-type of the raw WS response content.
    • getHeaders

      public Map<String,String> getHeaders()
      Returns:
      the output headers returned after dispatching the soap message.
    • getHeader

      public Optional<String> getHeader(String headerName)
      Parameters:
      headerName - the name of the header which values are requested
      Returns:
      an Optional carrying the value of the header, Optional.empty() if the header does not exist.