Make LoggingHandler.appendHexDump(..) protected for the subclasses
This commit is contained in:
parent
835b4443f3
commit
2e58497160
@ -402,7 +402,11 @@ public class LoggingHandler extends ChannelDuplexHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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