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