Uses of Class
org.apache.juneau.http.resource.ByteArrayResource
Packages that use ByteArrayResource
-
Uses of ByteArrayResource in org.apache.juneau.http
Methods in org.apache.juneau.http that return ByteArrayResourceModifier and TypeMethodDescriptionstatic final ByteArrayResource
HttpResources.byteArrayResource
(byte[] content) Creates a newByteArrayResource
builder.static final ByteArrayResource
HttpResources.byteArrayResource
(byte[] content, ContentType contentType) Creates a newByteArrayResource
builder.static final ByteArrayResource
HttpResources.byteArrayResource
(Supplier<byte[]> content) Creates a newByteArrayResource
builder.static final ByteArrayResource
HttpResources.byteArrayResource
(Supplier<byte[]> content, ContentType contentType) Creates a newByteArrayResource
builder. -
Uses of ByteArrayResource in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return ByteArrayResourceModifier and TypeMethodDescriptionByteArrayResource.copy()
ByteArrayResource.setCached()
ByteArrayResource.setChunked()
ByteArrayResource.setChunked
(boolean value) ByteArrayResource.setContent
(Object value) ByteArrayResource.setContent
(Supplier<?> value) ByteArrayResource.setContentEncoding
(String value) ByteArrayResource.setContentEncoding
(ContentEncoding value) ByteArrayResource.setContentLength
(long value) ByteArrayResource.setContentType
(String value) ByteArrayResource.setContentType
(ContentType value) ByteArrayResource.setHeaders
(HeaderList value) ByteArrayResource.setUnmodifiable()
Constructors in org.apache.juneau.http.resource with parameters of type ByteArrayResourceModifierConstructorDescriptionprotected
ByteArrayResource
(ByteArrayResource copyFrom) Copy constructor.