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.

    @FunctionalInterface
    public interface ChannelPipelineListener
    An interface that allows users to configure the Netty pipeline used by Micronaut.
    Since:
    2.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.netty.channel.ChannelPipeline onConnect​(io.netty.channel.ChannelPipeline pipeline)
      A method called every time the pipeline is initialized.
    • Method Detail

      • onConnect

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