Package io.vertx.mutiny.ext.web.handler
Class DigestAuthHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.DigestAuthHandler
- All Implemented Interfaces:
MutinyDelegate
,io.vertx.core.Handler<RoutingContext>
,AuthenticationHandler
,Consumer<RoutingContext>
public class DigestAuthHandler
extends Object
implements MutinyDelegate, 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 the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<DigestAuthHandler>
static final long
The default nonce expire timeout to use in milliseconds. -
Constructor Summary
ConstructorsConstructorDescriptionDigestAuthHandler
(io.vertx.ext.web.handler.DigestAuthHandler delegate) DigestAuthHandler
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RoutingContext item) static DigestAuthHandler
create
(Vertx vertx, HtdigestAuth authProvider) static DigestAuthHandler
create
(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout) boolean
io.vertx.ext.web.handler.DigestAuthHandler
void
handle
(RoutingContext arg0) int
hashCode()
static DigestAuthHandler
newInstance
(io.vertx.ext.web.handler.DigestAuthHandler arg) toString()
-
Field Details
-
__TYPE_ARG
-
DEFAULT_NONCE_EXPIRE_TIMEOUT
public static final long DEFAULT_NONCE_EXPIRE_TIMEOUTThe default nonce expire timeout to use in milliseconds.- See Also:
-
-
Constructor Details
-
DigestAuthHandler
public DigestAuthHandler(io.vertx.ext.web.handler.DigestAuthHandler delegate) -
DigestAuthHandler
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.DigestAuthHandler getDelegate()- Specified by:
getDelegate
in interfaceAuthenticationHandler
- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handle
in interfaceAuthenticationHandler
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
create
- 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
- Specified by:
accept
in interfaceAuthenticationHandler
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-