Class ResourceResolver


  • public final class ResourceResolver
    extends Object
    Uses META-INF/spring.factories to read ProtocolResolver list that gets added to DefaultResourceLoader. Each implementor of a new StubDownloaderBuilder, if one uses a new protocol, should register their own ProtocolResolver so that Stub Runner can convert a String version of a URI to a Resource. IMPORTANT! Internal tool. Do not use.
    Since:
    2.0.0
    Author:
    Marcin Grzejszczak
    • Method Detail

      • resource

        public static org.springframework.core.io.Resource resource​(String url)
        Parameters:
        url - - string url
        Returns:
        corresponding Resource