Interface HttpClientUpgradeHandler.SourceCodec

  • All Known Implementing Classes:
    HttpClientCodec
    Enclosing class:
    HttpClientUpgradeHandler

    public static interface HttpClientUpgradeHandler.SourceCodec
    The source codec that is used in the pipeline initially.
    • Method Detail

      • prepareUpgradeFrom

        void prepareUpgradeFrom​(io.netty.channel.ChannelHandlerContext ctx)
        Removes or disables the encoder of this codec so that the HttpClientUpgradeHandler.UpgradeCodec can send an initial greeting (if any).
      • upgradeFrom

        void upgradeFrom​(io.netty.channel.ChannelHandlerContext ctx)
        Removes this codec (i.e. all associated handlers) from the pipeline.