|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
org.apache.myfaces.trinidad.resource.ResourceLoader
org.apache.myfaces.trinidad.resource.ProxyResourceLoader
public class ProxyResourceLoader
A resource loader implementation that proxies another resource loader, controlling the URLConnection.
| Nested Class Summary | |
|---|---|
protected class |
ProxyResourceLoader.ProxyURLConnectionHelper class used to manage aggregated URL input stream. |
| Constructor Summary | |
|---|---|
ProxyResourceLoader(ResourceLoader parent)Constructs a new ProxyResourceLoader with specified parent. |
|
| Method Summary | |
|---|---|
java.net.URL |
getResource(java.lang.String path)Finds the resource with the given name. |
| Methods inherited from class org.apache.myfaces.trinidad.resource.ResourceLoader |
|---|
findResource, getContentType, getNullResourceLoader, getParent, isCachable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyResourceLoader(ResourceLoader parent)
parent - the parent resource loader| Method Detail |
|---|
public java.net.URL getResource(java.lang.String path)
throws java.io.IOException
ResourceLoaderThe name of a resource is a '/'-separated path name that identifies the resource.
This method will first invoke ResourceLoader.findResource(String) to find the resource. Failing that, the method will invoke getResource(String) on the parent.
getResource in class ResourceLoaderpath - the resource namejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.