public enum ContentEncodingEnum extends Enum<ContentEncodingEnum>
Enum Constant and Description |
---|
COMPRESS
Content-Encoding: compress
|
DEFLATE
Content-Encoding: deflate
|
GZIP
Content-Encoding: gzip
|
IDENTITY
Content-Encoding: identity
|
OTHER
Unknown value
|
Modifier and Type | Method and Description |
---|---|
static ContentEncodingEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentEncodingEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentEncodingEnum GZIP
public static final ContentEncodingEnum COMPRESS
public static final ContentEncodingEnum DEFLATE
public static final ContentEncodingEnum IDENTITY
public static final ContentEncodingEnum OTHER
public static ContentEncodingEnum[] values()
for (ContentEncodingEnum c : ContentEncodingEnum.values()) System.out.println(c);
public static ContentEncodingEnum 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 nullCopyright © 2016–2020 The Apache Software Foundation. All rights reserved.