org.apache.axiom.attachments

## Interface Part

-     public interface Part

  Interface representing a MIME part. A part can be the SOAP part (or more generally the root part for non-MTOM XOP encoded messages) or an attachment part.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getContentID()`
    `String` | `getContentType()`
    `javax.activation.DataHandler` | `getDataHandler()`
    `String` | `getHeader(String name)` Get the value of a specific header
    `long` | `getSize()`

- - ### Method Detail

    - #### getDataHandler

          javax.activation.DataHandler getDataHandler()

      Returns:
        DataHandler representing this part

    - #### getSize

          long getSize()

      Returns:
        size

    - #### getContentType

          String getContentType()

      Returns:
        content type of the part

    - #### getContentID

          String getContentID()

      Returns:
        content id of the part

    - #### getHeader

          String getHeader(String name)

      Get the value of a specific header
      Parameters:
        `name` -
      Returns:
        value or null

Copyright © The Apache Software Foundation. All Rights Reserved.