Class RetryResourceRetriever

  • All Implemented Interfaces:
    com.nimbusds.jose.util.ResourceRetriever

    public class RetryResourceRetriever
    extends java.lang.Object
    implements com.nimbusds.jose.util.ResourceRetriever
    Wraps a resource retriever with retry logic in case, eg, the OIDC .well-known end point is not available.
    • Constructor Summary

      Constructors 
      Constructor Description
      RetryResourceRetriever​(com.nimbusds.jose.util.ResourceRetriever other, io.github.resilience4j.retry.Retry retry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.nimbusds.jose.util.Resource retrieveResource​(java.net.URL url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RetryResourceRetriever

        public RetryResourceRetriever​(com.nimbusds.jose.util.ResourceRetriever other,
                                      io.github.resilience4j.retry.Retry retry)
    • Method Detail

      • retrieveResource

        public com.nimbusds.jose.util.Resource retrieveResource​(java.net.URL url)
                                                         throws java.io.IOException
        Specified by:
        retrieveResource in interface com.nimbusds.jose.util.ResourceRetriever
        Throws:
        java.io.IOException