Class ResourceResolver
java.lang.Object
org.springframework.cloud.contract.stubrunner.ResourceResolver
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 Summary
-
Method Details
-
resource
- Parameters:
url- - string url- Returns:
- corresponding
Resource
-