Interface ProtocolUpgradeHandler

  • All Superinterfaces:
    io.vertx.core.Handler<RoutingContext>
    All Known Implementing Classes:
    ApolloWSHandler, GraphQLWSHandler

    public interface ProtocolUpgradeHandler
    extends io.vertx.core.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 Detail

      • getDelegate

        io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()
      • handle

        void handle​(RoutingContext event)
        Something has happened, so handle it.
        Specified by:
        handle in interface io.vertx.core.Handler<RoutingContext>
        Parameters:
        event - the event to handle
      • newInstance

        static ProtocolUpgradeHandler newInstance​(io.vertx.ext.web.handler.ProtocolUpgradeHandler arg)