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

  Modifier and Type
  Method
  Description
  `MultipartBody`
  `build()`
  `MultipartBody.Builder`
  `setAttachmentBlobFactory(WritableBlobFactory<?> attachmentBlobFactory)`
  `MultipartBody.Builder`
  `setContentType(String contentType)`
  `MultipartBody.Builder`
  `setContentType(ContentType contentType)`
  `MultipartBody.Builder`
  `setInputStream(InputStream inputStream)`
  `MultipartBody.Builder`
  `setPartBlobFactory(PartBlobFactory partBlobFactory)`
  `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 Details

  - ### 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)

  - ### setPartBlobFactory

    public MultipartBody.Builder setPartBlobFactory(PartBlobFactory partBlobFactory)

  - ### setPartCreationListener

    public MultipartBody.Builder setPartCreationListener(MultipartBody.PartCreationListener partCreationListener)

  - ### build

    public MultipartBody build()