Interface UpgradeCodecProvider.RoutedUpgrade

Enclosing interface:
UpgradeCodecProvider

@Deprecated(since="3.0.0") public static interface UpgradeCodecProvider.RoutedUpgrade
Deprecated.
internal SPI for Helidon 3.x protocol upgrade handling
Routed protocol upgrade.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Prepare the protocol upgrade response after HTTP routing policy handlers allow the request.
    void
    Deprecated.
    Complete the protocol switch after the upgrade response has been sent.
  • Method Details

    • prepareResponse

      boolean prepareResponse(ChannelHandlerContext ctx, ServerResponse response)
      Deprecated.
      Prepare the protocol upgrade response after HTTP routing policy handlers allow the request.
      Parameters:
      ctx - channel handler context
      response - server response to update or send
      Returns:
      true to send the upgrade response and complete the protocol switch, or false if the response was rejected before the protocol switch
    • upgrade

      void upgrade(ChannelHandlerContext ctx)
      Deprecated.
      Complete the protocol switch after the upgrade response has been sent.
      Parameters:
      ctx - channel handler context