Uses of Class
org.eclipse.jetty.util.resource.Resource
Packages that use Resource
Package
Description
Jetty Util : Common Utility Classes
Jetty Util : Resource Utilities
Jetty Util : Common Security Utilities
Jetty Util : Common SSL Utility Classes
-
Uses of Resource in org.eclipse.jetty.util
Methods in org.eclipse.jetty.util with parameters of type ResourceModifier and TypeMethodDescriptionstatic ByteBufferstatic ByteBufferBufferUtil.toMappedBuffer(Resource resource) Attempt to return a ByteBuffer created viaFileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)call.static ByteBufferBufferUtil.toMappedBuffer(Resource resource, long pos, long len) Attempt to return a ByteBuffer created viaFileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)call. -
Uses of Resource in org.eclipse.jetty.util.resource
Subclasses of Resource in org.eclipse.jetty.util.resourceModifier and TypeClassDescriptionclassclassAn in memory ResourceclassJava NIO Path Resource with file system pooling.classJava NIO Path Resource.Methods in org.eclipse.jetty.util.resource that return ResourceModifier and TypeMethodDescriptiondefault ResourceResourceFactory.asResource(Object obj) Convert an anonymous Object to a Resource.static ResourceMake a directory Resource containing a collection of other directoryResourcesstatic ResourceMake a directory Resource containing a collection of directoryResourcesdefault ResourceResourceFactory.newClassLoaderResource(String resource) Construct a Resource from a search of ClassLoaders.default ResourceResourceFactory.newClassLoaderResource(String resource, boolean searchSystemClassLoader) Construct a Resource from a search of ClassLoaders.default ResourceResourceFactory.newClassPathResource(String resource) Deprecated, for removal: This API element is subject to removal in a future version.default ResourceResourceFactory.newJarFileResource(URI uri) Construct aResourcefrom afile:based URI that is mountable (eg: a jar file).default ResourceResourceFactory.newMemoryResource(URL url) Load a URL into a memory resource.protected ResourceMountedPathResource.newResource(Path path, URI uri) MountedPathResourceFactory.newResource(URI uri) protected ResourcePathResource.newResource(Path path, URI uri) Internal override for creating a new PathResource.PathResourceFactory.newResource(URI uri) default ResourceResourceFactory.newResource(String resource) Construct a resource from a string.ResourceFactory.newResource(URI uri) Construct a resource from a uri.default ResourceResourceFactory.newResource(URL url) Construct aResourcefrom a provided URL.default ResourceResourceFactory.newResource(Path path) Construct a Resource from provided path.default ResourceResourceFactory.newResource(List<URI> uris) Construct a possible combinedResourcefrom a list of URIs.URLResourceFactory.newResource(URI uri) default ResourceResourceFactory.newSystemResource(String resource) Deprecated, for removal: This API element is subject to removal in a future version.useResourceFactory.newClassLoaderResource(String)orResourceFactory.newClassLoaderResource(String, boolean)instead, will be removed in Jetty 12.1.0Resolves a path against the resource collection.abstract ResourceResolve an existing Resource.FileSystemPool.Mount.root()Methods in org.eclipse.jetty.util.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionstatic Comparator<? super Resource> ResourceCollators.byFileName(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.byLastModified(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.byName(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.bySize(boolean sortOrderAscending) MemoryResource.getAllResources()Resource.getAllResources()Get a deep collection of contained resources.CombinedResource.getResources()Retrieves the resource collection's resources.CombinedResource.iterator()Resource.iterator()Return an Iterator of all Resource's referenced in this Resource.CombinedResource.list()MemoryResource.list()PathResource.list()Resource.list()List of contents of a directoryResource.Split a string of references by provided delims into a List ofResource.Methods in org.eclipse.jetty.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of directoryResourcesbooleanbooleanbooleanReturn true if this resource deeply contains the other Resource.static Stringstatic booleanTrue if the resource exists.Get the relative path from this Resource to a possibly contained resource.static booleanResources.isCombined(Resource resource) True if the resource has been created bycombiningother resources.booleanMemoryResource.isContainedIn(Resource container) booleanMountedPathResource.isContainedIn(Resource container) booleanResource.isContainedIn(Resource container) Return true if this resource is contained in the Resource r, either because r is a folder or a jar file or any form of resource capable of containing other resources.static booleanResources.isDirectory(Resource resource) True if resource is a valid directory.static booleanResources.isReadable(Resource resource) True if resource is readable.static booleanResources.isReadableDirectory(Resource resource) True if resource is a valid directory that can be read from.static booleanResources.isReadableFile(Resource resource) True if resource exists, is not a directory, is readable.static booleanTrue if the resource is missing.static ResourceFactoryDeprecated, for removal: This API element is subject to removal in a future version.Useresolve(String)booleanMethod parameters in org.eclipse.jetty.util.resource with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of other directoryResourcesConstructors in org.eclipse.jetty.util.resource with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.util.security
Methods in org.eclipse.jetty.util.security with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.util.ssl
Methods in org.eclipse.jetty.util.ssl that return ResourceModifier and TypeMethodDescriptionSslContextFactory.getKeyStoreResource()SslContextFactory.getTrustStoreResource()Methods in org.eclipse.jetty.util.ssl with parameters of type ResourceModifier and TypeMethodDescriptionprotected KeyStoreSslContextFactory.loadKeyStore(Resource resource) Override this method to provide alternate way to load a keystore.protected KeyStoreSslContextFactory.loadTrustStore(Resource resource) Override this method to provide alternate way to load a truststore.voidSslContextFactory.setKeyStoreResource(Resource resource) Set the key store resource.voidSslContextFactory.setTrustStoreResource(Resource resource) Set the trust store resource.
ResourceFactory.newClassLoaderResource(String, boolean)instead, will be removed in Jetty 12.1.0