Interface PipelineDecorator


public interface PipelineDecorator
Allows applications to inject encoders or decoders into the Netty channel pipeline. This can be used to, for instance, replace the default HttpObjectAggregator with one that write chunks to a file.
Author:
Tim Boudreau
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the pipeline's HttpObjectAggregator
    static final String
    Name of the pipeline's compressor, if any
    static final String
    Name of the pipeline's HttpObjectDecoder
    static final String
    Name of the pipeline's HttpObjectEncoder
    static final String
    Name of the pipeline's dispatch handler that invokes acteurs
    static final String
    Name of the handler for @ early pages/acteurs.
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onBeforeInstallSslHandler(io.netty.channel.ChannelPipeline pipeline)
     
    void
    onCreatePipeline(io.netty.channel.ChannelPipeline pipeline)
    Called when the pipeline is first fetched/created, before adding anything
    void
    onPipelineInitialized(io.netty.channel.ChannelPipeline pipeline)
    Called after all the standard handlers have been added to the pipeline.
  • Field Details

  • Method Details

    • onBeforeInstallSslHandler

      default void onBeforeInstallSslHandler(io.netty.channel.ChannelPipeline pipeline)
    • onCreatePipeline

      void onCreatePipeline(io.netty.channel.ChannelPipeline pipeline)
      Called when the pipeline is first fetched/created, before adding anything
      Parameters:
      pipeline - The pipeline
    • onPipelineInitialized

      void onPipelineInitialized(io.netty.channel.ChannelPipeline pipeline)
      Called after all the standard handlers have been added to the pipeline. You can replace handlers or add additional ones here.
      Parameters:
      pipeline - The pipeline