Uses of Class
org.apache.juneau.http.resource.StringResource
Packages that use StringResource
-
Uses of StringResource in org.apache.juneau.http
Methods in org.apache.juneau.http that return StringResourceModifier and TypeMethodDescriptionstatic final StringResource
HttpResources.stringResource
(String content) Creates a new builder for aStringResource
builder.static final StringResource
HttpResources.stringResource
(String content, ContentType contentType) Creates a new builder for aStringResource
builder.static final StringResource
HttpResources.stringResource
(Supplier<String> content) Creates a new builder for aStringResource
builder.static final StringResource
HttpResources.stringResource
(Supplier<String> content, ContentType contentType) Creates a new builder for aStringResource
builder. -
Uses of StringResource in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return StringResourceModifier and TypeMethodDescriptionStringResource.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
(HeaderList value) StringResource.setUnmodifiable()
Constructors in org.apache.juneau.http.resource with parameters of type StringResourceModifierConstructorDescriptionprotected
StringResource
(StringResource copyFrom) Copy constructor.