|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ZlibWrapper>
org.jboss.netty.handler.codec.compression.ZlibWrapper
public enum ZlibWrapper
The container file formats that wrap the stream compressed by the DEFLATE algorithm.
Enum Constant Summary | |
---|---|
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
Try ZLIB first and then NONE if the first attempt fails. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ZlibWrapper ZLIB
public static final ZlibWrapper GZIP
public static final ZlibWrapper NONE
public static final ZlibWrapper ZLIB_OR_NONE
ZLIB
first and then NONE
if the first attempt fails.
Please note that you can specify this wrapper type only when decompressing.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |