Http2FrameLogger should not extend ChannelHandlerAdapter (#9002)
Motivation: For what-ever reason Http2FrameLogger did extend ChannelHandlerAdapter but not override any of its methods. We should not extend it at all as it is not a ChannelHandler. Modifications: Remove extends Result: Less confusing / more correct / clear code.
This commit is contained in:
parent
6b8a0ed374
commit
6491f359c7
@ -17,7 +17,6 @@ package io.netty.handler.codec.http2;
|
|||||||
|
|
||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
import io.netty.buffer.ByteBufUtil;
|
import io.netty.buffer.ByteBufUtil;
|
||||||
import io.netty.channel.ChannelHandlerAdapter;
|
|
||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import io.netty.handler.logging.LogLevel;
|
import io.netty.handler.logging.LogLevel;
|
||||||
import io.netty.util.internal.UnstableApi;
|
import io.netty.util.internal.UnstableApi;
|
||||||
@ -31,7 +30,7 @@ import static java.util.Objects.requireNonNull;
|
|||||||
* Logs HTTP2 frames for debugging purposes.
|
* Logs HTTP2 frames for debugging purposes.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public class Http2FrameLogger extends ChannelHandlerAdapter {
|
public class Http2FrameLogger {
|
||||||
|
|
||||||
public enum Direction {
|
public enum Direction {
|
||||||
INBOUND,
|
INBOUND,
|
||||||
|
Loading…
Reference in New Issue
Block a user