public static interface HttpClientUpgradeHandler.SourceCodec
限定符和类型 | 方法和说明 |
---|---|
void |
prepareUpgradeFrom(ChannelHandlerContext ctx)
Removes or disables the encoder of this codec so that the
HttpClientUpgradeHandler.UpgradeCodec can send an initial greeting
(if any). |
void |
upgradeFrom(ChannelHandlerContext ctx)
Removes this codec (i.e. all associated handlers) from the pipeline.
|
void prepareUpgradeFrom(ChannelHandlerContext ctx)
HttpClientUpgradeHandler.UpgradeCodec
can send an initial greeting
(if any).void upgradeFrom(ChannelHandlerContext ctx)