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 longThe 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 TypeMethodDescriptionvoidaccept(RoutingContext item) static DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider) static DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout) booleanio.vertx.ext.web.handler.DigestAuthHandlervoidhandle(RoutingContext arg0) inthashCode()static DigestAuthHandlernewInstance(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:
getDelegatein interfaceAuthenticationHandler- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein 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:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-