All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mule.runtime.soap.api.message.SoapMessage Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package org.mule.runtime.soap.api.message;

import org.mule.runtime.extension.api.soap.SoapAttachment;

import java.io.InputStream;
import java.util.Map;

/**
 * Represents a Soap Message carrying a content, attachments and a set of headers.
 *
 * @since 4.0
 */
public interface SoapMessage extends WithContentType {

  /**
   * @return the content of the message.
   */
  InputStream getContent();

  /**
   * @return a set of Soap Headers.
   */
  Map getSoapHeaders();

  /**
   * @return a set of Transport Specific Headers.
   */
  Map getTransportHeaders();

  /**
   * @return a set of attachments.
   */
  Map getAttachments();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy