public class ProxyResourceLoader extends ResourceLoader
| Modifier and Type | Class and Description |
|---|---|
protected class |
ProxyResourceLoader.ProxyURLConnection
Helper class used to manage aggregated URL input stream.
|
| Constructor and Description |
|---|
ProxyResourceLoader(ResourceLoader parent)
Constructs a new ProxyResourceLoader with specified parent.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getResource(String path)
Finds the resource with the given name.
|
findResource, getContentType, getContentType, getNullResourceLoader, getParent, isCachable, toStringpublic ProxyResourceLoader(ResourceLoader parent)
parent - the parent resource loaderpublic URL getResource(String path) throws IOException
ResourceLoaderThe name of a resource is a '/'-separated path name that identifies the resource.
This method will first search the this resource loader for the
resource. That failing, this method will invoke
ResourceLoader.findResource(String) to on the parent resource loader to
find the resource.
getResource in class ResourceLoaderpath - the resource nameIOExceptionCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.