Package io.netty.channel
Annotation Type ChannelHandlerMask.Skip
-
@Target(METHOD) @Retention(RUNTIME) static @interface ChannelHandlerMask.SkipIndicates that the annotated event handler method inChannelHandlerwill not be invoked byChannelPipelineand so MUST only be used when theChannelHandlermethod does nothing except forward to the nextChannelHandlerin 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.Skipand simply pass the event through to the next handler, which reverses the behavior of the supertype.