Package io.netty.handler.codec.http
Interface HttpServerUpgradeHandler.UpgradeCodecFactory
-
- Enclosing class:
- HttpServerUpgradeHandler
public static interface HttpServerUpgradeHandler.UpgradeCodecFactoryCreates a newHttpServerUpgradeHandler.UpgradeCodecfor the requested protocol name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpServerUpgradeHandler.UpgradeCodecnewUpgradeCodec(java.lang.CharSequence protocol)Invoked byHttpServerUpgradeHandlerfor all the requested protocol names in the order of the client preference.
-
-
-
Method Detail
-
newUpgradeCodec
HttpServerUpgradeHandler.UpgradeCodec newUpgradeCodec(java.lang.CharSequence protocol)
Invoked byHttpServerUpgradeHandlerfor all the requested protocol names in the order of the client preference. The first non-nullHttpServerUpgradeHandler.UpgradeCodecreturned by this method will be selected.- Returns:
- a new
HttpServerUpgradeHandler.UpgradeCodec, ornullif the specified protocol name is not supported
-
-