Package io.netty.channel
Annotation Type ChannelHandlerMask.Skip
-
@Target(METHOD) @Retention(RUNTIME) static @interface ChannelHandlerMask.Skip
Indicates that the annotated event handler method inChannelHandler
will not be invoked byChannelPipeline
and so MUST only be used when theChannelHandler
method does nothing except forward to the nextChannelHandler
in the pipeline.Note that this annotation is not inherited. If a user overrides a method annotated with
ChannelHandlerMask.Skip
, it will not be skipped anymore. Similarly, the user can override a method not annotated withChannelHandlerMask.Skip
and simply pass the event through to the next handler, which reverses the behavior of the supertype.