private static enum GzipHttpOutputInterceptor.GZState extends java.lang.Enum<GzipHttpOutputInterceptor.GZState>
Enum Constant and Description |
---|
COMMITTING |
COMPRESSING |
FINISHED |
MIGHT_COMPRESS |
NOT_COMPRESSING |
Modifier and Type | Method and Description |
---|---|
static GzipHttpOutputInterceptor.GZState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GzipHttpOutputInterceptor.GZState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GzipHttpOutputInterceptor.GZState MIGHT_COMPRESS
public static final GzipHttpOutputInterceptor.GZState NOT_COMPRESSING
public static final GzipHttpOutputInterceptor.GZState COMMITTING
public static final GzipHttpOutputInterceptor.GZState COMPRESSING
public static final GzipHttpOutputInterceptor.GZState FINISHED
public static GzipHttpOutputInterceptor.GZState[] values()
for (GzipHttpOutputInterceptor.GZState c : GzipHttpOutputInterceptor.GZState.values()) System.out.println(c);
public static GzipHttpOutputInterceptor.GZState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null