|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<StreamableResourceProcessing> org.apache.tapestry5.services.assets.StreamableResourceProcessing
public enum StreamableResourceProcessing
Defines additional features desired when accessing the content of a Resource
as
a StreamableResource
.
StreamableResourceSource
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
JavaScriptStack
Method Detail |
---|
public 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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |