Module io.netty5.codec.http
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(ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting (if any).void
upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
-
-
-
Method Detail
-
prepareUpgradeFrom
void prepareUpgradeFrom(ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting (if any).
-
upgradeFrom
void upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
-
-