Package org.apache.axiom.mime

## Class MultipartBody.Builder

- java.lang.Object
- - org.apache.axiom.mime.MultipartBody.Builder

- Enclosing class:
    MultipartBody

      public static final class MultipartBody.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `MultipartBody` | `build()` |
    `MultipartBody.Builder` | `setAttachmentBlobFactory​(WritableBlobFactory<?> attachmentBlobFactory)` |
    `MultipartBody.Builder` | `setContentType​(String contentType)` |
    `MultipartBody.Builder` | `setContentType​(ContentType contentType)` |
    `MultipartBody.Builder` | `setDataHandlerFactory​(DataHandlerFactory dataHandlerFactory)` |
    `MultipartBody.Builder` | `setInputStream​(InputStream inputStream)` |
    `MultipartBody.Builder` | `setPartCreationListener​(MultipartBody.PartCreationListener partCreationListener)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### setInputStream

          public MultipartBody.Builder setInputStream​(InputStream inputStream)

    - #### setContentType

          public MultipartBody.Builder setContentType​(ContentType contentType)

    - #### setContentType

          public MultipartBody.Builder setContentType​(String contentType)

    - #### setAttachmentBlobFactory

          public MultipartBody.Builder setAttachmentBlobFactory​(WritableBlobFactory<?> attachmentBlobFactory)

    - #### setDataHandlerFactory

          public MultipartBody.Builder setDataHandlerFactory​(DataHandlerFactory dataHandlerFactory)

    - #### setPartCreationListener

          public MultipartBody.Builder setPartCreationListener​(MultipartBody.PartCreationListener partCreationListener)

    - #### build

          public MultipartBody build()