io.vertx.reactivex.ext.web.handler

## Interface ProtocolUpgradeHandler

- All Superinterfaces:
    Handler<RoutingContext>
  All Known Implementing Classes:
    ApolloWSHandler, GraphQLWSHandler

      public interface ProtocolUpgradeHandler
      extends Handler<RoutingContext>

  Base interface for handlers that perform protocol upgrades. Sub-interfaces hint vert.x core that we should hold the request. This allows later parsing. It can be available during the upgrade, even if there are asynchronous calls in between.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolUpgradeHandler` | `getDelegate()`
    `void` | `handle(RoutingContext event)` Something has happened, so handle it.
    `static ProtocolUpgradeHandler` | `newInstance(ProtocolUpgradeHandler arg)`

- - ### Method Detail

    - #### getDelegate

          ProtocolUpgradeHandler getDelegate()

    - #### handle

          void handle(RoutingContext event)

      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<RoutingContext>`
      Parameters:
        `event` - the event to handle

    - #### newInstance

          static ProtocolUpgradeHandler newInstance(ProtocolUpgradeHandler arg)

Copyright © 2024 Eclipse. All rights reserved.