Package io.vertx.mutiny.ext.web.handler
Interface ProtocolUpgradeHandler
- All Superinterfaces:
Consumer<RoutingContext>,io.vertx.core.Handler<RoutingContext>,MutinyDelegate
- All Known Implementing Classes:
ApolloWSHandler,GraphQLWSHandler
public interface ProtocolUpgradeHandler
extends MutinyDelegate, io.vertx.core.Handler<RoutingContext>, Consumer<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 Mutiny-ified interface using Vert.x codegen.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(RoutingContext item) io.vertx.ext.web.handler.ProtocolUpgradeHandlervoidhandle(RoutingContext arg0) static ProtocolUpgradeHandlernewInstance(io.vertx.ext.web.handler.ProtocolUpgradeHandler arg)
-
Method Details
-
getDelegate
io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
handle
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
accept
- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-