[#5862] Http2EventAdapter#onUnknownFrame(...) should throw Http2Exception
Motivation: Http2EventAdapter implements the Http2FrameListener interface but implements the #onUnknownFrame(...) method without the interface's throws Http2Exception. Modifications: Add throws Http2Exception. Result: More correct method signature.
This commit is contained in:
parent
789c9a53df
commit
3240e97420
@ -82,7 +82,7 @@ public class Http2EventAdapter implements Http2Connection.Listener, Http2FrameLi
|
||||
|
||||
@Override
|
||||
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags,
|
||||
ByteBuf payload) {
|
||||
ByteBuf payload) throws Http2Exception {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user