Uses of Interface
com.nimbusds.jose.util.events.EventListener
Packages that use EventListener
Package
Description
JSON Web Key (JWK) sourcing interface and utilities.
-
Uses of EventListener in com.nimbusds.jose.jwk.source
Methods in com.nimbusds.jose.jwk.source with parameters of type EventListenerModifier and TypeMethodDescriptionJWKSourceBuilder.cache(long timeToLive, long cacheRefreshTimeout, EventListener<CachingJWKSetSource<C>, C> eventListener) Enables caching of the retrieved JWK set.JWKSourceBuilder.outageTolerant(long timeToLive, EventListener<OutageTolerantJWKSetSource<C>, C> eventListener) Enables outage tolerance by serving a non-expiring cached JWK set in case of outage.JWKSourceBuilder.rateLimited(long minTimeInterval, EventListener<RateLimitedJWKSetSource<C>, C> eventListener) Enables rate limiting of the JWK set retrieval.JWKSourceBuilder.refreshAheadCache(long refreshAheadTime, boolean scheduled, EventListener<CachingJWKSetSource<C>, C> eventListener) Enables refresh-ahead caching of the JWK set.JWKSourceBuilder.refreshAheadCache(long refreshAheadTime, EventListener<CachingJWKSetSource<C>, C> eventListener, ExecutorService executorService, boolean shutdownExecutorOnClose, ScheduledExecutorService scheduledExecutorService, boolean shutdownScheduledExecutorOnClose) Enables refresh-ahead caching of the JWK set.JWKSourceBuilder.retrying(EventListener<RetryingJWKSetSource<C>, C> eventListener) Enables single retrial to retrieve the JWK set to work around transient network issues.Constructors in com.nimbusds.jose.jwk.source with parameters of type EventListenerModifierConstructorDescriptionCachingJWKSetSource(JWKSetSource<C> source, long timeToLive, long cacheRefreshTimeout, EventListener<CachingJWKSetSource<C>, C> eventListener) Creates a new caching JWK set source.OutageTolerantJWKSetSource(JWKSetSource<C> source, long timeToLive, EventListener<OutageTolerantJWKSetSource<C>, C> eventListener) Creates a new outage tolerant JWK set source.RateLimitedJWKSetSource(JWKSetSource<C> source, long minTimeInterval, EventListener<RateLimitedJWKSetSource<C>, C> eventListener) Creates a new JWK set source that limits the number of requests.RefreshAheadCachingJWKSetSource(JWKSetSource<C> source, long timeToLive, long cacheRefreshTimeout, long refreshAheadTime, boolean scheduled, EventListener<CachingJWKSetSource<C>, C> eventListener) Creates a new refresh-ahead caching JWK set source.RefreshAheadCachingJWKSetSource(JWKSetSource<C> source, long timeToLive, long cacheRefreshTimeout, long refreshAheadTime, boolean scheduled, ExecutorService executorService, boolean shutdownExecutorOnClose, EventListener<CachingJWKSetSource<C>, C> eventListener) Creates a new refresh-ahead caching JWK set source with the specified executor service to run the updates in the background.RefreshAheadCachingJWKSetSource(JWKSetSource<C> source, long timeToLive, long cacheRefreshTimeout, long refreshAheadTime, ExecutorService executorService, boolean shutdownExecutorOnClose, EventListener<CachingJWKSetSource<C>, C> eventListener, ScheduledExecutorService scheduledExecutorService, boolean shutdownScheduledExecutorOnClose) Creates a new refresh-ahead caching JWK set source with the specifiedExecutorServiceto run the updates in the background.RetryingJWKSetSource(JWKSetSource<C> source, EventListener<RetryingJWKSetSource<C>, C> eventListener) Creates a new JWK set source with support for retrial.