Package io.vertx.mutiny.ext.web.handler
Interface ProtocolUpgradeHandler
-
- All Superinterfaces:
Consumer<RoutingContext>
,io.vertx.core.Handler<RoutingContext>
- All Known Implementing Classes:
ApolloWSHandler
,GraphQLWSHandler
public interface ProtocolUpgradeHandler extends 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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(RoutingContext item)
io.vertx.ext.web.handler.ProtocolUpgradeHandler
getDelegate()
void
handle(RoutingContext arg0)
static ProtocolUpgradeHandler
newInstance(io.vertx.ext.web.handler.ProtocolUpgradeHandler arg)
-
-
-
Method Detail
-
getDelegate
io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()
-
handle
void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
accept
default void accept(RoutingContext item)
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
static ProtocolUpgradeHandler newInstance(io.vertx.ext.web.handler.ProtocolUpgradeHandler arg)
-
-