Package io.vertx.mutiny.ext.web.handler
Class ChainAuthHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.ChainAuthHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>,AuthenticationHandler,Consumer<RoutingContext>
public class ChainAuthHandler extends Object implements AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that chains to a sequence of handlers. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ChainAuthHandler>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ChainAuthHandler(io.vertx.ext.web.handler.ChainAuthHandler delegate)ChainAuthHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(RoutingContext item)ChainAuthHandleradd(AuthenticationHandler other)static ChainAuthHandlerall()static ChainAuthHandlerany()static ChainAuthHandlercreate()Deprecated.useany()instead.booleanequals(Object o)io.vertx.ext.web.handler.ChainAuthHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static ChainAuthHandlernewInstance(io.vertx.ext.web.handler.ChainAuthHandler arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ChainAuthHandler> __TYPE_ARG
-
-
Constructor Detail
-
ChainAuthHandler
public ChainAuthHandler(io.vertx.ext.web.handler.ChainAuthHandler delegate)
-
ChainAuthHandler
public ChainAuthHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.ChainAuthHandler getDelegate()
- Specified by:
getDelegatein interfaceAuthenticationHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
create
@Deprecated public static ChainAuthHandler create()
Deprecated.useany()instead.- Returns:
-
all
public static ChainAuthHandler all()
- Returns:
- a new chain authentication handler
-
any
public static ChainAuthHandler any()
- Returns:
- a new chain authentication handler
-
add
public ChainAuthHandler add(AuthenticationHandler other)
- Parameters:
other- auth handler- Returns:
- self
-
accept
public void accept(RoutingContext item)
- Specified by:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
public static ChainAuthHandler newInstance(io.vertx.ext.web.handler.ChainAuthHandler arg)
-
-