Interface ChannelPipelineListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public interface ChannelPipelineListener
    Deprecated.
    Use NettyClientCustomizer or NettyServerCustomizer instead.
    An interface that allows users to configure the Netty pipeline used by Micronaut.
    Since:
    2.0.0
    • Method Detail

      • onConnect

        @NonNull
        io.netty.channel.ChannelPipeline onConnect​(@NonNull
                                                   io.netty.channel.ChannelPipeline pipeline)
        Deprecated.
        A method called every time the pipeline is initialized.
        Parameters:
        pipeline - The pipeline
        Returns:
        The pipeline