Package io.vertx.mutiny.ext.web.handler
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.io.vertx.ext.web.handler.ProtocolUpgradeHandlervoidhandle(RoutingContext item) Handle an item.static ProtocolUpgradeHandlernewInstance(io.vertx.ext.web.handler.ProtocolUpgradeHandler delegate) Creates a new instance of theProtocolUpgradeHandler.
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
getDelegate
io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
newInstance
Creates a new instance of theProtocolUpgradeHandler.
-