|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CompressionStatus>
org.apache.tapestry5.services.assets.CompressionStatus
public enum CompressionStatus
Indicates how the content inside a StreamableResource is (potentially) compressed.
| Enum Constant Summary | |
|---|---|
COMPRESSABLE
The content may be compressed but has not yet been compressed. |
|
COMPRESSED
The content has been compressed, which must be reflected in the Response's content encoding. |
|
NOT_COMPRESSABLE
The content is not compressable. |
|
| Method Summary | |
|---|---|
static CompressionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompressionStatus[] |
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 CompressionStatus COMPRESSABLE
public static final CompressionStatus COMPRESSED
Response's content encoding.
public static final CompressionStatus NOT_COMPRESSABLE
| Method Detail |
|---|
public static CompressionStatus[] values()
for (CompressionStatus c : CompressionStatus.values()) System.out.println(c);
public static CompressionStatus 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 | |||||||||