public static interface HttpServerUpgradeHandler.UpgradeCodecFactory
HttpServerUpgradeHandler.UpgradeCodec
for the requested protocol name.Modifier and Type | Method and Description |
---|---|
HttpServerUpgradeHandler.UpgradeCodec |
newUpgradeCodec(CharSequence protocol)
Invoked by
HttpServerUpgradeHandler for all the requested protocol names in the order of
the client preference. |
HttpServerUpgradeHandler.UpgradeCodec newUpgradeCodec(CharSequence protocol)
HttpServerUpgradeHandler
for all the requested protocol names in the order of
the client preference. The first non-null
HttpServerUpgradeHandler.UpgradeCodec
returned by this method
will be selected.HttpServerUpgradeHandler.UpgradeCodec
, or null
if the specified protocol name is not supportedCopyright © 2008–2024 The Netty Project. All rights reserved.