Class SwallowSomeHttp2ExceptionsHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
com.netflix.netty.common.SwallowSomeHttp2ExceptionsHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelOutboundHandler

@Sharable public class SwallowSomeHttp2ExceptionsHandler extends io.netty.channel.ChannelOutboundHandlerAdapter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Constructor Summary

    Constructors
    Constructor
    Description
    SwallowSomeHttp2ExceptionsHandler(com.netflix.spectator.api.Registry registry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
     

    Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter

    bind, close, connect, deregister, disconnect, flush, read, write

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerAdded, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved
  • Constructor Details

    • SwallowSomeHttp2ExceptionsHandler

      public SwallowSomeHttp2ExceptionsHandler(com.netflix.spectator.api.Registry registry)
  • Method Details

    • exceptionCaught

      public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
      Specified by:
      exceptionCaught in interface io.netty.channel.ChannelHandler
      Overrides:
      exceptionCaught in class io.netty.channel.ChannelHandlerAdapter
      Throws:
      Exception