Uses of Class
org.apache.juneau.http.resource.StreamResource
Packages that use StreamResource
Package
Description
RFC2616 HTTP Headers
HTTP Resource Beans
-
Uses of StreamResource in org.apache.juneau.http
Methods in org.apache.juneau.http that return StreamResourceModifier and TypeMethodDescriptionstatic final StreamResourceHttpResources.streamResource(InputStream content) Creates a newStreamResourcebuilder.static final StreamResourceHttpResources.streamResource(InputStream content, long length, ContentType contentType) Creates a newStreamResourcebuilder. -
Uses of StreamResource in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return StreamResourceModifier and TypeMethodDescriptionStreamResource.addHeaders(Header... values) StreamResource.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(Header... values) StreamResource.setHeaders(HeaderList value) StreamResource.setUnmodifiable()Constructors in org.apache.juneau.http.resource with parameters of type StreamResourceModifierConstructorDescriptionprotectedStreamResource(StreamResource copyFrom) Copy constructor.