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.EntityBuilder.compressed(ContentCoding coding) Requests that the entity produced by this builder be compressed with the supplied content-coding.static EntityBuilderEntityBuilder.create()EntityBuilder.gzipCompressed()Deprecated.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 theContentTypeof 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.
compressed(ContentCoding.GZIP).