|
@@ -25,8 +25,8 @@ import io.netty.channel.AdaptiveRecvByteBufAllocator;
|
|
|
import io.netty.channel.Channel;
|
|
|
import io.netty.channel.ChannelFuture;
|
|
|
import io.netty.channel.ChannelHandler;
|
|
|
-import io.netty.channel.ChannelHandlerAdapter;
|
|
|
import io.netty.channel.ChannelHandlerContext;
|
|
|
+import io.netty.channel.ChannelInboundHandlerAdapter;
|
|
|
import io.netty.channel.ChannelInitializer;
|
|
|
import io.netty.channel.ChannelOption;
|
|
|
import io.netty.channel.FixedRecvByteBufAllocator;
|
|
@@ -315,7 +315,7 @@ public class Netty4Transport extends TcpTransport {
|
|
|
}
|
|
|
|
|
|
@ChannelHandler.Sharable
|
|
|
- private class ServerChannelExceptionHandler extends ChannelHandlerAdapter {
|
|
|
+ private class ServerChannelExceptionHandler extends ChannelInboundHandlerAdapter {
|
|
|
|
|
|
@Override
|
|
|
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
|