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 void
accept
(RoutingContext item) io.vertx.ext.web.handler.ProtocolUpgradeHandler
void
handle
(RoutingContext arg0) static ProtocolUpgradeHandler
newInstance
(io.vertx.ext.web.handler.ProtocolUpgradeHandler arg)
-
Method Details
-
getDelegate
io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
handle
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
accept
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-