## 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()` Sets entities to be chunked.
    `static EntityBuilder` | EntityBuilder.`create()`
    `EntityBuilder` | EntityBuilder.`gzipCompressed()` Sets entities to be GZIP compressed.
    `EntityBuilder` | EntityBuilder.`setBinary(byte[] binary)` Sets entity content as a byte array.
    `EntityBuilder` | EntityBuilder.`setContentEncoding(String contentEncoding)` Sets the content encoding of the entity.
    `EntityBuilder` | EntityBuilder.`setContentType(ContentType contentType)` Sets the `ContentType` of the entity.
    `EntityBuilder` | EntityBuilder.`setFile(File file)` Sets entity content as a `File`.
    `EntityBuilder` | EntityBuilder.`setParameters(List<NameValuePair> parameters)` Sets entity content as a parameter list.
    `EntityBuilder` | EntityBuilder.`setParameters(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 an `InputStream`.
    `EntityBuilder` | EntityBuilder.`setText(String text)` Sets entity content as a string.

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