Package io.vertx.mutiny.ext.web.handler
Class ChainAuthHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.ChainAuthHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,AuthenticationHandler,Consumer<RoutingContext>
public class ChainAuthHandler
extends Object
implements AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
An auth handler that chains to a sequence of handlers.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Paulo Lopes
- See Also:
-
ChainAuthHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.ext.web.handler.AuthenticationHandler
AuthenticationHandler.AuthenticationHandlerImpl -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChainAuthHandler(io.vertx.ext.web.handler.ChainAuthHandler delegate) Create a new instance ofChainAuthHandlerdelegating to the given (non-null) instance ofChainAuthHandler.ChainAuthHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.add(AuthenticationHandler other) Appends a auth provider to the chain.static ChainAuthHandlerall()Create a chain authentication handler that will assert that all handlers pass the verification.static ChainAuthHandlerany()Create a chain authentication handler that will assert that any handler passes the verification.booleanio.vertx.ext.web.handler.ChainAuthHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.inthashCode()static ChainAuthHandlernewInstance(io.vertx.ext.web.handler.ChainAuthHandler delegate) Creates a new instance of theChainAuthHandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ChainAuthHandler
public ChainAuthHandler(io.vertx.ext.web.handler.ChainAuthHandler delegate) Create a new instance ofChainAuthHandlerdelegating to the given (non-null) instance ofChainAuthHandler. -
ChainAuthHandler
-
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
getDelegate
public io.vertx.ext.web.handler.ChainAuthHandler 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 interfaceAuthenticationHandler- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
all
Create a chain authentication handler that will assert that all handlers pass the verification.- Returns:
- a new chain authentication handler
-
any
Create a chain authentication handler that will assert that any handler passes the verification.- Returns:
- a new chain authentication handler
-
add
Appends a auth provider to the chain.- Parameters:
other- auth handler- Returns:
- self
-
newInstance
Creates a new instance of theChainAuthHandler. -
hashCode
public int hashCode() -
equals
-
toString
-