public enum ZlibWrapper extends java.lang.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(java.lang.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(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 nullCopyright © 2008–2018 The Netty Project. All rights reserved.