public static interface HttpServerUpgradeHandler.UpgradeCodecFactory
HttpServerUpgradeHandler.UpgradeCodec
。
Modifier and Type | Method and Description |
---|---|
HttpServerUpgradeHandler.UpgradeCodec |
newUpgradeCodec(java.lang.CharSequence protocol)
由 HttpServerUpgradeHandler 按客户端首选项的顺序调用所有请求的协议名称。
|
HttpServerUpgradeHandler.UpgradeCodec newUpgradeCodec(java.lang.CharSequence protocol)
HttpServerUpgradeHandler
按照客户端首选项的顺序调用所有请求的协议名称。
将选择由此方法返回的第一个非null
HttpServerUpgradeHandler.UpgradeCodec
。
HttpServerUpgradeHandler.UpgradeCodec
或null
Copyright © 2008–2018 The Netty Project. All rights reserved.