Package | Description |
---|---|
org.apache.http.client.entity |
Client specific HTTP entity implementations.
|
Modifier and Type | Method and Description |
---|---|
EntityBuilder |
EntityBuilder.chunked()
Makes entity chunk coded.
|
static EntityBuilder |
EntityBuilder.create() |
EntityBuilder |
EntityBuilder.gzipCompress()
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.http.entity.ContentType contentType)
Sets
ContentType of the entity. |
EntityBuilder |
EntityBuilder.setFile(File file)
Sets entity content as a
File . |
EntityBuilder |
EntityBuilder.setParameters(List<org.apache.http.NameValuePair> parameters)
Sets entity content as a parameter list.
|
EntityBuilder |
EntityBuilder.setParameters(org.apache.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–2022 The Apache Software Foundation. All rights reserved.