public enum StreamableResourceProcessing extends Enum<StreamableResourceProcessing>
Resource as
a StreamableResource.StreamableResourceSource| Enum Constant and Description |
|---|
COMPRESSION_DISABLED
As with
COMPRESSION_ENABLED, but the final compression stage (and compression cache) is skipped. |
COMPRESSION_ENABLED
The default behavior when the client supports compression, and an individual (non-aggregated) resources
is being accessed.
|
FOR_AGGREGATION
Turns off all caching and minification of the resource, which is appropriate when the individual resource will be
aggregated with other resources to form a virtual composite.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamableResourceProcessing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamableResourceProcessing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamableResourceProcessing COMPRESSION_ENABLED
public static final StreamableResourceProcessing COMPRESSION_DISABLED
COMPRESSION_ENABLED, but the final compression stage (and compression cache) is skipped. This is
appropriate
for individual resources where the client does not support compression.public static final StreamableResourceProcessing FOR_AGGREGATION
JavaScriptStackpublic static StreamableResourceProcessing[] values()
for (StreamableResourceProcessing c : StreamableResourceProcessing.values()) System.out.println(c);
public static StreamableResourceProcessing valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.