public enum ByteBufFormat extends Enum<ByteBufFormat>
ByteBufs and ByteBufHolders.LoggingHandler| Enum Constant and Description |
|---|
HEX_DUMP
ByteBufs will be logged using ByteBufUtil.appendPrettyHexDump(StringBuilder, ByteBuf). |
SIMPLE
ByteBufs 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
ByteBufs will be logged in a simple format, with no hex dump included.public static final ByteBufFormat HEX_DUMP
ByteBufs 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–2025 The Netty Project. All rights reserved.