public enum ZlibWrapper extends Enum<ZlibWrapper>
Enum Constant and Description |
---|
GZIP
The GZIP wrapper as specified in RFC 1952.
|
NONE
Raw DEFLATE stream only (no header and no footer).
|
ZLIB
The ZLIB wrapper as specified in RFC 1950.
|
ZLIB_OR_NONE
|
Modifier and Type | Method and Description |
---|---|
static ZlibWrapper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibWrapper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZlibWrapper ZLIB
public static final ZlibWrapper GZIP
public static final ZlibWrapper NONE
public static final ZlibWrapper ZLIB_OR_NONE
public static ZlibWrapper[] values()
for (ZlibWrapper c : ZlibWrapper.values()) System.out.println(c);
public static ZlibWrapper 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 © 2008-2016 The Netty Project. All Rights Reserved.