Top Description Fields Constructors Methods
io.netty5.handler.codec.compression

public final Enum ZlibWrapper

extends Enum<ZlibWrapper>
Class Inheritance

The container file formats that wrap the stream compressed by the DEFLATE algorithm.

Field Summary

Modifier and TypeField and Description
public static final ZlibWrapper
GZIP

The GZIP wrapper as specified in RFC 1952.

public static final ZlibWrapper
NONE

Raw DEFLATE stream only (no header and no footer).

public static final ZlibWrapper
ZLIB

The ZLIB wrapper as specified in RFC 1950.

public static final ZlibWrapper
ZLIB_OR_NONE

Try ZLIB first and then NONE if the first attempt fails.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ZlibWrapper
public static ZlibWrapper[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

GZIPback to summary
public static final ZlibWrapper GZIP

The GZIP wrapper as specified in RFC 1952.

NONEback to summary
public static final ZlibWrapper NONE

Raw DEFLATE stream only (no header and no footer).

ZLIBback to summary
public static final ZlibWrapper ZLIB

The ZLIB wrapper as specified in RFC 1950.

ZLIB_OR_NONEback to summary
public static final ZlibWrapper ZLIB_OR_NONE

Try ZLIB first and then NONE if the first attempt fails. Please note that you can specify this wrapper type only when decompressing.

Constructor Detail

ZlibWrapperback to summary
private ZlibWrapper()

Method Detail

valueOfback to summary
public static ZlibWrapper valueOf(String name)
valuesback to summary
public static ZlibWrapper[] values()