Uses of Class
org.apache.juneau.http.resource.StreamResource
Packages that use StreamResource
-
Uses of StreamResource in org.apache.juneau.http
Methods in org.apache.juneau.http that return StreamResourceModifier and TypeMethodDescriptionstatic final StreamResource
HttpResources.streamResource
(InputStream content) Creates a newStreamResource
builder.static final StreamResource
HttpResources.streamResource
(InputStream content, long length, ContentType contentType) Creates a newStreamResource
builder. -
Uses of StreamResource in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return StreamResourceModifier and TypeMethodDescriptionStreamResource.copy()
StreamResource.setCached()
StreamResource.setChunked()
StreamResource.setChunked
(boolean value) StreamResource.setContent
(Object value) StreamResource.setContent
(Supplier<?> value) StreamResource.setContentEncoding
(String value) StreamResource.setContentEncoding
(ContentEncoding value) StreamResource.setContentLength
(long value) StreamResource.setContentType
(String value) StreamResource.setContentType
(ContentType value) StreamResource.setHeaders
(HeaderList value) StreamResource.setUnmodifiable()
Constructors in org.apache.juneau.http.resource with parameters of type StreamResourceModifierConstructorDescriptionprotected
StreamResource
(StreamResource copyFrom) Copy constructor.