Uses of Class
org.apache.juneau.http.resource.StringResource
Packages that use StringResource
Package
Description
RFC2616 HTTP Headers
HTTP Resource Beans
-
Uses of StringResource in org.apache.juneau.http
Methods in org.apache.juneau.http that return StringResourceModifier and TypeMethodDescriptionstatic final StringResourceHttpResources.stringResource(String content) Creates a new builder for aStringResourcebuilder.static final StringResourceHttpResources.stringResource(String content, ContentType contentType) Creates a new builder for aStringResourcebuilder.static final StringResourceHttpResources.stringResource(Supplier<String> content) Creates a new builder for aStringResourcebuilder.static final StringResourceHttpResources.stringResource(Supplier<String> content, ContentType contentType) Creates a new builder for aStringResourcebuilder. -
Uses of StringResource in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return StringResourceModifier and TypeMethodDescriptionStringResource.addHeaders(Header... values) StringResource.copy()StringResource.setCached()StringResource.setChunked()StringResource.setChunked(boolean value) StringResource.setContent(Object value) StringResource.setContent(Supplier<?> value) StringResource.setContentEncoding(String value) StringResource.setContentEncoding(ContentEncoding value) StringResource.setContentLength(long value) StringResource.setContentType(String value) StringResource.setContentType(ContentType value) StringResource.setHeaders(Header... values) StringResource.setHeaders(HeaderList value) StringResource.setUnmodifiable()Constructors in org.apache.juneau.http.resource with parameters of type StringResourceModifierConstructorDescriptionprotectedStringResource(StringResource copyFrom) Copy constructor.