public class StaticResourceFactory extends Object implements ResourceFactory, Initable
| Constructor and Description |
|---|
StaticResourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(HttpManager manager) |
Resource |
getResource(String host,
String url)
Locate an instance of a resource at the given url and on the given host
The host argument can be used for applications which implement virtual
domain hosting.
|
String |
getSupportedLevels()
Hack Alert! This method will likely be deprecated in a future release
This method is used to populate the Supported-Levels header which indicates
what level of webdav compliance the server has.
|
void |
init(ApplicationConfig config,
HttpManager manager) |
public void init(ApplicationConfig config, HttpManager manager)
public Resource getResource(String host, String url)
ResourceFactorygetResource in interface ResourceFactorypublic void destroy(HttpManager manager)
public String getSupportedLevels()
ResourceFactorygetSupportedLevels in interface ResourceFactoryCopyright © 2020. All rights reserved.