## Uses of Class
javax.xml.soap.MimeHeaders

- Packages that use MimeHeaders
  Package | Description
  --- | ---
  javax.xml.soap | Provides the API for creating and building SOAP messages.

- - ### Uses of MimeHeaders in javax.xml.soap

    Methods in javax.xml.soap that return MimeHeaders
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract MimeHeaders` | SOAPMessage.`getMimeHeaders()` Returns all the transport-specific MIME headers for this `SOAPMessage` object in a transport-independent fashion.

    Methods in javax.xml.soap with parameters of type MimeHeaders
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract SOAPMessage` | MessageFactory.`createMessage(MimeHeaders headers, InputStream in)` Internalizes the contents of the given `InputStream` object into a new `SOAPMessage` object and returns the `SOAPMessage` object.
    `abstract Iterator` | SOAPMessage.`getAttachments(MimeHeaders headers)` Retrieves all the `AttachmentPart` objects that have header entries that match the specified headers.
    `abstract void` | SOAPMessage.`removeAttachments(MimeHeaders headers)` Removes all the `AttachmentPart` objects that have header entries that match the specified headers.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.