Package io.netty5.handler.codec.http
Interface HttpClientUpgradeHandler.SourceCodec
-
- All Known Implementing Classes:
HttpClientCodec
- Enclosing class:
- HttpClientUpgradeHandler<C extends HttpContent<C>>
public static interface HttpClientUpgradeHandler.SourceCodec
The source codec that is used in the pipeline initially.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepareUpgradeFrom(io.netty5.channel.ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting (if any).void
upgradeFrom(io.netty5.channel.ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
-
-
-
Method Detail
-
prepareUpgradeFrom
void prepareUpgradeFrom(io.netty5.channel.ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting (if any).
-
upgradeFrom
void upgradeFrom(io.netty5.channel.ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
-
-