Class PathResourceFactory
java.lang.Object
org.eclipse.jetty.util.resource.PathResourceFactory
- All Implemented Interfaces:
ResourceFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface ResourceFactory
ResourceFactory.Closeable, ResourceFactory.LifeCycle -
Field Summary
Fields inherited from interface ResourceFactory
LOG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ResourceFactory
asResource, newClassLoaderResource, newClassLoaderResource, newClassPathResource, newJarFileResource, newMemoryResource, newResource, newResource, newResource, newResource, newSystemResource, split, split, split, split
-
Constructor Details
-
PathResourceFactory
public PathResourceFactory()
-
-
Method Details
-
newResource
Description copied from interface:ResourceFactoryConstruct a resource from a URI.Each call may allocate a new JVM resource, whose lifecycle is tied to this ResourceFactory implementation.
This method is used to create root (or base) resources. Child resources of these resources, should be created using
Resource.resolve(String)- Specified by:
newResourcein interfaceResourceFactory- Parameters:
uri- A URI.- Returns:
- A Resource object.
-