Make LoggingHandler.appendHexDump(..) protected for the subclasses
This commit is contained in:
parent
5e575daefc
commit
4fcec8b87d
@ -397,7 +397,11 @@ public class LoggingHandler extends ChannelHandlerAdapter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void appendHexDump(StringBuilder dump, ByteBuf buf) {
|
/**
|
||||||
|
* Appends the prettifies multi-line hexadecimal dump of the specified {@link ByteBuf} to the specified
|
||||||
|
* {@link StringBuilder}.
|
||||||
|
*/
|
||||||
|
protected static void appendHexDump(StringBuilder dump, ByteBuf buf) {
|
||||||
dump.append(
|
dump.append(
|
||||||
NEWLINE + " +-------------------------------------------------+" +
|
NEWLINE + " +-------------------------------------------------+" +
|
||||||
NEWLINE + " | 0 1 2 3 4 5 6 7 8 9 a b c d e f |" +
|
NEWLINE + " | 0 1 2 3 4 5 6 7 8 9 a b c d e f |" +
|
||||||
|
Loading…
Reference in New Issue
Block a user