Package | Description |
---|---|
org.apache.hc.client5.http.entity |
Client specific HTTP entity implementations.
|
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(org.apache.hc.core5.http.ContentType contentType)
Sets the
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 an
InputStream . |
EntityBuilder |
EntityBuilder.setText(String text)
Sets entity content as a string.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.