## Uses of Class
org.apache.hc.client5.http.entity.EntityBuilder

- Packages that use EntityBuilder
  Package | Description
  --- | ---
  org.apache.hc.client5.http.entity | Client specific HTTP entity implementations.

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

    Methods in org.apache.hc.client5.http.entity that return EntityBuilder
    Modifier and Type | Method and Description
    --- | ---
    `EntityBuilder` | EntityBuilder.`chunked()` Makes entity chunk coded.
    `static EntityBuilder` | EntityBuilder.`create()`
    `EntityBuilder` | EntityBuilder.`gzipCompressed()` Makes entity GZIP compressed.
    `EntityBuilder` | EntityBuilder.`setBinary(byte[] binary)` Sets entity content as a byte array.
    `EntityBuilder` | EntityBuilder.`setContentEncoding(String contentEncoding)` Sets content encoding of the entity.
    `EntityBuilder` | EntityBuilder.`setContentType(org.apache.hc.core5.http.ContentType contentType)` Sets `ContentType` of the entity.
    `EntityBuilder` | EntityBuilder.`setFile(File file)` Sets entity content as a `File`.
    `EntityBuilder` | EntityBuilder.`setParameters(List<org.apache.hc.core5.http.NameValuePair> parameters)` Sets entity content as a parameter list.
    `EntityBuilder` | EntityBuilder.`setParameters(org.apache.hc.core5.http.NameValuePair... parameters)` Sets entity content as a parameter list.
    `EntityBuilder` | EntityBuilder.`setSerializable(Serializable serializable)` Sets entity content as a `Serializable`.
    `EntityBuilder` | EntityBuilder.`setStream(InputStream stream)` Sets entity content as a `InputStream`.
    `EntityBuilder` | EntityBuilder.`setText(String text)` Sets entity content as a string.

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