Package io.vertx.mutiny.ext.web.handler
Class ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl
java.lang.Object
io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,ProtocolUpgradeHandler,Consumer<RoutingContext>
- Enclosing interface:
- ProtocolUpgradeHandler
public static class ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl
extends Object
implements ProtocolUpgradeHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler
ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl -
Constructor Summary
ConstructorsConstructorDescriptionProtocolUpgradeHandlerImpl(io.vertx.ext.web.handler.ProtocolUpgradeHandler delegate) Create a new instance ofProtocolUpgradeHandler.ProtocolUpgradeHandlerImpldelegating to the given (non-null) instance ofProtocolUpgradeHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.io.vertx.ext.web.handler.ProtocolUpgradeHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.
-
Constructor Details
-
ProtocolUpgradeHandlerImpl
public ProtocolUpgradeHandlerImpl(io.vertx.ext.web.handler.ProtocolUpgradeHandler delegate) Create a new instance ofProtocolUpgradeHandler.ProtocolUpgradeHandlerImpldelegating to the given (non-null) instance ofProtocolUpgradeHandler.
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.ProtocolUpgradeHandler getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfaceProtocolUpgradeHandler- Returns:
- the delegate instance
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfaceProtocolUpgradeHandler
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>- Specified by:
handlein interfaceProtocolUpgradeHandler
-