public enum CompressionStatus extends Enum<CompressionStatus>
StreamableResource
is (potentially) compressed.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final CompressionStatus COMPRESSABLE
public static final CompressionStatus COMPRESSED
Response
's content encoding.public static final CompressionStatus NOT_COMPRESSABLE
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 nameNullPointerException
- if the argument is null${project.version} - Copyright © 2003-2015 The Apache Software Foundation.