Package io.netty.handler.codec.http
Interface HttpClientUpgradeHandler.SourceCodec
-
- All Known Implementing Classes:
HttpClientCodec
- Enclosing class:
- HttpClientUpgradeHandler
public static interface HttpClientUpgradeHandler.SourceCodecThe source codec that is used in the pipeline initially.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprepareUpgradeFrom(ChannelHandlerContext ctx)Removes or disables the encoder of this codec so that theHttpClientUpgradeHandler.UpgradeCodeccan send an initial greeting (if any).voidupgradeFrom(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.UpgradeCodeccan send an initial greeting (if any).
-
upgradeFrom
void upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
-
-