org.apache.struts2.osgi.loaders
Class StaticContentBundleResourceLoader
java.lang.Object
org.apache.struts2.dispatcher.DefaultStaticContentLoader
org.apache.struts2.osgi.loaders.StaticContentBundleResourceLoader
- All Implemented Interfaces:
- StaticContentLoader
public class StaticContentBundleResourceLoader
- extends DefaultStaticContentLoader
Loads static resources from bundles
Methods inherited from class org.apache.struts2.dispatcher.DefaultStaticContentLoader |
buildPath, canHandle, cleanupPath, copy, findStaticResource, getAdditionalPackages, getContentType, parse, process, setEncoding, setHostConfig, setServeStaticBrowserCache, setServeStaticContent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticContentBundleResourceLoader
public StaticContentBundleResourceLoader()
findResource
protected URL findResource(String path)
throws IOException
- Overrides:
findResource
in class DefaultStaticContentLoader
- Throws:
IOException
setBundleAccessor
public void setBundleAccessor(BundleAccessor bundleAccessor)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.