Module io.helidon.webserver
Package io.helidon.webserver.spi
Interface UpgradeCodecProvider.RoutedUpgrade
- Enclosing interface:
- UpgradeCodecProvider
Deprecated.
internal SPI for Helidon 3.x protocol upgrade handling
Routed protocol upgrade.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanprepareResponse(ChannelHandlerContext ctx, ServerResponse response) Deprecated.Prepare the protocol upgrade response after HTTP routing policy handlers allow the request.voidDeprecated.Complete the protocol switch after the upgrade response has been sent.
-
Method Details
-
prepareResponse
Deprecated.Prepare the protocol upgrade response after HTTP routing policy handlers allow the request.- Parameters:
ctx- channel handler contextresponse- server response to update or send- Returns:
trueto send the upgrade response and complete the protocol switch, orfalseif the response was rejected before the protocol switch
-
upgrade
Deprecated.Complete the protocol switch after the upgrade response has been sent.- Parameters:
ctx- channel handler context
-