public enum ByteBufFormat extends Enum<ByteBufFormat>
ByteBuf
s and ByteBufHolder
s.LoggingHandler
Enum Constant and Description |
---|
HEX_DUMP
ByteBuf s will be logged using ByteBufUtil.appendPrettyHexDump(StringBuilder, ByteBuf) . |
SIMPLE
ByteBuf s will be logged in a simple format, with no hex dump included. |
Modifier and Type | Method and Description |
---|---|
static ByteBufFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBufFormat SIMPLE
ByteBuf
s will be logged in a simple format, with no hex dump included.public static final ByteBufFormat HEX_DUMP
ByteBuf
s will be logged using ByteBufUtil.appendPrettyHexDump(StringBuilder, ByteBuf)
.public static ByteBufFormat[] values()
for (ByteBufFormat c : ByteBufFormat.values()) System.out.println(c);
public static ByteBufFormat 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–2024 The Netty Project. All rights reserved.