Interface ProtocolUpgradeHandler

All Superinterfaces:
Consumer<RoutingContext>, io.vertx.core.Handler<RoutingContext>, MutinyDelegate
All Known Implementing Classes:
GraphQLWSHandler, ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl

public interface ProtocolUpgradeHandler extends io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
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 Mutiny-ified interface.

Author:
Paulo Lopes
See Also:
  • ProtocolUpgradeHandler
  • Method Details

    • accept

      void accept(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      accept in interface Consumer<RoutingContext>
    • handle

      void handle(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • getDelegate

      io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • newInstance

      static ProtocolUpgradeHandler newInstance(io.vertx.ext.web.handler.ProtocolUpgradeHandler delegate)
      Creates a new instance of the ProtocolUpgradeHandler.