public static interface HttpClientUpgradeHandler.SourceCodec
Modifier and Type | Method and Description |
---|---|
void |
prepareUpgradeFrom(ChannelHandlerContext ctx)
删除或禁用此编码解码器的编码器,以便 HttpClientUpgradeHandler.UpgradeCodec 可发送初始问候语(如果有)。
|
void |
upgradeFrom(ChannelHandlerContext ctx)
从管道中移除此编解码器(即所有关联的处理程序)。
|
void prepareUpgradeFrom(ChannelHandlerContext ctx)
HttpClientUpgradeHandler.UpgradeCodec
可以发送初始问候语(如果有)。
void upgradeFrom(ChannelHandlerContext ctx)
Copyright © 2008–2018 The Netty Project. All rights reserved.