Class CachingResourceRetriever

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

    public class CachingResourceRetriever
    extends java.lang.Object
    implements com.nimbusds.jose.util.ResourceRetriever
    • Constructor Summary

      Constructors 
      Constructor Description
      CachingResourceRetriever​(com.nimbusds.jose.util.ResourceRetriever other, java.nio.file.Path cachePath, java.util.function.Function<java.net.URL,​java.lang.Boolean> filterFunction)  
    • 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

      • CachingResourceRetriever

        public CachingResourceRetriever​(com.nimbusds.jose.util.ResourceRetriever other,
                                        java.nio.file.Path cachePath,
                                        java.util.function.Function<java.net.URL,​java.lang.Boolean> filterFunction)
    • 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