## Uses of Interface
org.apache.http.entity.mime.content.ContentBody

- Packages that use ContentBody
  Package | Description
  --- | ---
  org.apache.http.entity.mime | MIME coded HTTP entity implementations.
  org.apache.http.entity.mime.content | MIME body part implementations.

- - ### Uses of ContentBody in org.apache.http.entity.mime

    Methods in org.apache.http.entity.mime that return ContentBody
    Modifier and Type | Method and Description
    --- | ---
    `ContentBody` | FormBodyPart.`getBody()`

    Methods in org.apache.http.entity.mime with parameters of type ContentBody
    Modifier and Type | Method and Description
    --- | ---
    `MultipartEntityBuilder` | MultipartEntityBuilder.`addPart(String name, ContentBody contentBody)`
    `void` | MultipartEntity.`addPart(String name, ContentBody contentBody)` Deprecated.
    `static FormBodyPartBuilder` | FormBodyPartBuilder.`create(String name, ContentBody body)`
    `protected void` | FormBodyPart.`generateContentDisp(ContentBody body)` Deprecated. (4.4) use `FormBodyPartBuilder`.
    `protected void` | FormBodyPart.`generateContentType(ContentBody body)` Deprecated. (4.4) use `FormBodyPartBuilder`.
    `protected void` | FormBodyPart.`generateTransferEncoding(ContentBody body)` Deprecated. (4.4) use `FormBodyPartBuilder`.
    `FormBodyPartBuilder` | FormBodyPartBuilder.`setBody(ContentBody body)`

    Constructors in org.apache.http.entity.mime with parameters of type ContentBody
    Constructor and Description
    `FormBodyPart(String name, ContentBody body)` Deprecated. (4.4) use `FormBodyPartBuilder`.

  - ### Uses of ContentBody in org.apache.http.entity.mime.content

    Classes in org.apache.http.entity.mime.content that implement ContentBody
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractContentBody`
    `class` | `ByteArrayBody` Binary body part backed by a byte array.
    `class` | `FileBody` Binary body part backed by a file.
    `class` | `InputStreamBody` Binary body part backed by an input stream.
    `class` | `StringBody` Text body part backed by a byte array.

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.