Uses of Class
org.apache.juneau.http.entity.BasicHttpEntity
Packages that use BasicHttpEntity
Package
Description
HTTP Entity Beans
HTTP Resource Beans
-
Uses of BasicHttpEntity in org.apache.juneau.http.entity
Subclasses of BasicHttpEntity in org.apache.juneau.http.entityModifier and TypeClassDescriptionclass
A repeatable entity that obtains its content from a byte array.class
A repeatable entity that obtains its content from aFile
.class
A streamed, non-repeatable entity that obtains its content from anReader
.class
HttpEntity for serializing POJOs as the body of HTTP requests.class
A streamed, non-repeatable entity that obtains its content from anInputStream
.class
A self contained, repeatable entity that obtains its content from aString
.Fields in org.apache.juneau.http.entity declared as BasicHttpEntityModifier and TypeFieldDescriptionstatic final BasicHttpEntity
BasicHttpEntity.EMPTY
An empty HttpEntity.Methods in org.apache.juneau.http.entity that return BasicHttpEntityModifier and TypeMethodDescriptionBasicHttpEntity.copy()
Creates a builder for this class initialized with the contents of this bean.BasicHttpEntity.setCached()
Specifies that the contents of this resource should be cached into an internal byte array so that it can be read multiple times.BasicHttpEntity.setCharset
(Charset value) Specifies the charset to use when converting to and from stream-based resources.BasicHttpEntity.setChunked()
Sets the 'chunked' flag value totrue .BasicHttpEntity.setChunked
(boolean value) Sets the 'chunked' flag value.BasicHttpEntity.setContent
(Object value) Sets the content on this entity bean.BasicHttpEntity.setContent
(Supplier<?> value) Sets the content on this entity bean from a supplier.BasicHttpEntity.setContentEncoding
(String value) Sets the content encoding header on this entity bean.BasicHttpEntity.setContentEncoding
(ContentEncoding value) Sets the content encoding header on this entity bean.BasicHttpEntity.setContentLength
(long value) Sets the content length on this entity bean.BasicHttpEntity.setContentType
(String value) Sets the content type on this entity bean.BasicHttpEntity.setContentType
(ContentType value) Sets the content type on this entity bean.BasicHttpEntity.setMaxLength
(int value) Specifies the maximum number of bytes to read or write to and from stream-based resources.BasicHttpEntity.setUnmodifiable()
Specifies whether this bean should be unmodifiable.Methods in org.apache.juneau.http.entity that return types with arguments of type BasicHttpEntityModifier and TypeMethodDescriptionBasicHttpEntity.assertBytes()
Returns an assertion on the contents of this entity.BasicHttpEntity.assertString()
Returns an assertion on the contents of this entity.Constructors in org.apache.juneau.http.entity with parameters of type BasicHttpEntity -
Uses of BasicHttpEntity in org.apache.juneau.http.resource
Constructors in org.apache.juneau.http.resource with parameters of type BasicHttpEntity