public class ResourceResolver extends Object
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.Constructor and Description |
---|
ResourceResolver() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.core.io.Resource |
resource(String url) |
public static org.springframework.core.io.Resource resource(String url)
url
- - string urlResource
Copyright © 2016–2018 Spring. All rights reserved.