Package org.eclipse.jetty.util.resource
package org.eclipse.jetty.util.resource
Jetty Util : Resource Utilities
A Resource
in Jetty is an abstraction that
allows for a common API to access various forms of resource sources across the Jetty
ecosystem.
A Resource
is created via one of the
ResourceFactory
.newResource(...)
APIs.
-
ClassDescriptionNormalize Attribute to String.TODO figure out if this should be a LifeCycle or not, how many instances of this class can reside in a JVM, who can call sweep and when.Listener for pool eventsShow a StackTraceAn in memory Resource created from a
URL
Java NIO Path Resource with file system pooling.Java NIO Path Resource.A Resource is a wrapper over aPath
object pointing to a file or directory that can be represented by aFileSystem
.ResourceFactory is the source of newResource
instances.Collection of helpful static methods for working withResource
objects.SpecializedUriPatternPredicate
to allow filteringResource
entries by their URI.ResourceFactory
forURL
based resources.