## Uses of Interface
org.apache.hc.client5.http.entity.mime.ContentBody

- Packages that use ContentBody
  Package | Description
  --- | ---
  org.apache.hc.client5.http.entity.mime | MIME coded HTTP entity implementations.

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

    Classes in org.apache.hc.client5.http.entity.mime 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.

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

    Methods in org.apache.hc.client5.http.entity.mime with parameters of type ContentBody
    Modifier and Type | Method and Description
    --- | ---
    `MultipartEntityBuilder` | MultipartEntityBuilder.`addPart(String name, ContentBody contentBody)`
    `static MultipartPartBuilder` | MultipartPartBuilder.`create(ContentBody body)`
    `static FormBodyPartBuilder` | FormBodyPartBuilder.`create(String name, ContentBody body)`
    `FormBodyPartBuilder` | FormBodyPartBuilder.`setBody(ContentBody body)`
    `MultipartPartBuilder` | MultipartPartBuilder.`setBody(ContentBody body)`

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