Annotation Type ChannelHandlerMask.Skip


  • @Target(METHOD)
    @Retention(RUNTIME)
    static @interface ChannelHandlerMask.Skip
    Indicates that the annotated event handler method in ChannelHandler will not be invoked by ChannelPipeline and so MUST only be used when the ChannelHandler method does nothing except forward to the next ChannelHandler 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 with ChannelHandlerMask.Skip and simply pass the event through to the next handler, which reverses the behavior of the supertype.