Class ChainAuthHandler
- java.lang.Object
-
- io.vertx.reactivex.ext.web.handler.ChainAuthHandler
-
- All Implemented Interfaces:
Handler<RoutingContext>,io.vertx.lang.rx.RxDelegate,AuthenticationHandler
public class ChainAuthHandler extends Object implements io.vertx.lang.rx.RxDelegate, AuthenticationHandler, Handler<RoutingContext>
An auth handler that chains to a sequence of handlers.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<ChainAuthHandler>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ChainAuthHandlerβ(ChainAuthHandler delegate)ChainAuthHandlerβ(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainAuthHandleraddβ(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.booleanequalsβ(Object o)ChainAuthHandlergetDelegate()voidhandleβ(RoutingContext event)Something has happened, so handle it.inthashCode()static ChainAuthHandlernewInstanceβ(ChainAuthHandler arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<ChainAuthHandler> __TYPE_ARG
-
-
Constructor Detail
-
ChainAuthHandler
public ChainAuthHandlerβ(ChainAuthHandler delegate)
-
ChainAuthHandler
public ChainAuthHandlerβ(Object delegate)
-
-
Method Detail
-
getDelegate
public ChainAuthHandler getDelegate()
- Specified by:
getDelegatein interfaceAuthenticationHandler- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
handle
public void handleβ(RoutingContext event)
Something has happened, so handle it.- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein interfaceHandler<RoutingContext>- Parameters:
event- the event to handle
-
all
public static ChainAuthHandler all()
Create a chain authentication handler that will assert that all handlers pass the verification.- Returns:
- a new chain authentication handler
-
any
public static ChainAuthHandler any()
Create a chain authentication handler that will assert that any handler passes the verification.- Returns:
- a new chain authentication handler
-
add
public ChainAuthHandler addβ(AuthenticationHandler other)
Appends a auth provider to the chain.- Parameters:
other- auth handler- Returns:
- self
-
newInstance
public static ChainAuthHandler newInstanceβ(ChainAuthHandler arg)
-
-