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) static ByteBufferBufferUtil.toMappedBuffer(Resource resource, long pos, long len) -
Uses of Resource in org.eclipse.jetty.util.resource
Subclasses of Resource in org.eclipse.jetty.util.resourceModifier and TypeClassDescriptionclassMultiple resource directories presented as a single Resource.classAn in memory Resource created from aURLclassJava NIO Path Resource with file system pooling.classJava NIO Path Resource.Methods in org.eclipse.jetty.util.resource that return ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of other directoryResourcesstatic ResourceMake a directory Resource containing a collection of directoryResourcesdefault ResourceResourceFactory.newClassPathResource(String resource) Find a classpath resource.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) Construct a system resource from a string.Resolves 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()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.Methods in org.eclipse.jetty.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of directoryResourcesstatic Stringstatic booleanTrue if the resource exists.static booleanResources.isCombined(Resource resource) True if the resource has been created bycombiningother resources.booleanCombinedResource.isContainedIn(Resource r) booleanMemoryResource.isContainedIn(Resource r) booleanMountedPathResource.isContainedIn(Resource r) booleanPathResource.isContainedIn(Resource r) abstract booleanResource.isContainedIn(Resource r) 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 ResourceFactoryA new ResourceFactory from a provided Resource, to baseResourceFactory.newResource(URI)andResourceFactory.newResource(String)calls against.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.