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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<DigestAuthHandler>
__TYPE_ARG
static long
DEFAULT_NONCE_EXPIRE_TIMEOUT
The 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 void
accept(RoutingContext item)
static DigestAuthHandler
create(Vertx vertx, HtdigestAuth authProvider)
static DigestAuthHandler
create(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout)
boolean
equals(Object o)
io.vertx.ext.web.handler.DigestAuthHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
static DigestAuthHandler
newInstance(io.vertx.ext.web.handler.DigestAuthHandler arg)
String
toString()
-
-
-
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:
getDelegate
in interfaceAuthenticationHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceAuthenticationHandler
- Specified by:
handle
in 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:
accept
in interfaceAuthenticationHandler
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
public static DigestAuthHandler newInstance(io.vertx.ext.web.handler.DigestAuthHandler arg)
-
-