From 31a6ab9b1d957461ded25269ebc0d8a92a1cf194 Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Tue, 28 Apr 2015 22:51:32 -0700 Subject: [PATCH] Fix compile errors introduced by cherry picking of 3440eadb3843676e993cf from master. --- .../codec/http2/Http2ConnectionHandler.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java index bbe2a9c2c9..668e4e798b 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java @@ -369,6 +369,26 @@ public class Http2ConnectionHandler extends ByteToMessageDecoder implements Http } } + @Override + public void deregister(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception { + ctx.deregister(promise); + } + + @Override + public void read(ChannelHandlerContext ctx) throws Exception { + ctx.read(); + } + + @Override + public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception { + ctx.write(msg, promise); + } + + @Override + public void flush(ChannelHandlerContext ctx) throws Exception { + ctx.flush(); + } + /** * Handles {@link Http2Exception} objects that were thrown from other handlers. Ignores all other exceptions. */