Package io.vertx.mutiny.ext.web.handler
Class DigestAuthHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.DigestAuthHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>,AuthenticationHandler,Consumer<RoutingContext>
public class DigestAuthHandler extends Object implements AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that provides HTTP Basic Authentication support. 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<DigestAuthHandler>__TYPE_ARGstatic longDEFAULT_NONCE_EXPIRE_TIMEOUTThe default nonce expire timeout to use in milliseconds.
-
Constructor Summary
Constructors Constructor Description DigestAuthHandler(io.vertx.ext.web.handler.DigestAuthHandler delegate)DigestAuthHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RoutingContext item)static DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider)static DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout)booleanequals(Object o)io.vertx.ext.web.handler.DigestAuthHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static DigestAuthHandlernewInstance(io.vertx.ext.web.handler.DigestAuthHandler arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<DigestAuthHandler> __TYPE_ARG
-
DEFAULT_NONCE_EXPIRE_TIMEOUT
public static final long DEFAULT_NONCE_EXPIRE_TIMEOUT
The default nonce expire timeout to use in milliseconds.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DigestAuthHandler
public DigestAuthHandler(io.vertx.ext.web.handler.DigestAuthHandler delegate)
-
DigestAuthHandler
public DigestAuthHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.DigestAuthHandler getDelegate()
- Specified by:
getDelegatein interfaceAuthenticationHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
create
public static DigestAuthHandler create(Vertx vertx, HtdigestAuth authProvider)
- Parameters:
vertx- the vertx instanceauthProvider- the auth provider to use- Returns:
- the auth handler
-
create
public static DigestAuthHandler create(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout)
- Parameters:
vertx- the vertx instanceauthProvider- the auth service to usenonceExpireTimeout- the nonce expire timeout in milliseconds.- Returns:
- the auth handler
-
accept
public void accept(RoutingContext item)
- Specified by:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
public static DigestAuthHandler newInstance(io.vertx.ext.web.handler.DigestAuthHandler arg)
-
-