Uses of Class
org.apache.hc.client5.http.entity.EntityBuilder
Packages that use EntityBuilder
-
Uses of EntityBuilder in org.apache.hc.client5.http.entity
Methods in org.apache.hc.client5.http.entity that return EntityBuilderModifier and TypeMethodDescriptionEntityBuilder.chunked()
Sets entities to be chunked.static EntityBuilder
EntityBuilder.create()
EntityBuilder.gzipCompressed()
Sets entities to be GZIP compressed.EntityBuilder.setBinary
(byte[] binary) Sets entity content as a byte array.EntityBuilder.setContentEncoding
(String contentEncoding) Sets the content encoding of the entity.EntityBuilder.setContentType
(org.apache.hc.core5.http.ContentType contentType) Sets theContentType
of the entity.Sets entity content as aFile
.EntityBuilder.setParameters
(List<org.apache.hc.core5.http.NameValuePair> parameters) Sets entity content as a parameter list.EntityBuilder.setParameters
(org.apache.hc.core5.http.NameValuePair... parameters) Sets entity content as a parameter list.EntityBuilder.setSerializable
(Serializable serializable) Sets entity content as aSerializable
.EntityBuilder.setStream
(InputStream stream) Sets entity content as anInputStream
.Sets entity content as a string.