Uses of Class
org.eclipse.jetty.util.resource.Resource
Packages that use Resource
Package
Description
Jetty Util : Common Utility Classes
Jetty Util : Common 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 Resource -
Uses of Resource in org.eclipse.jetty.util.resource
Subclasses of Resource in org.eclipse.jetty.util.resourceModifier and TypeClassDescriptionclassEmptyResource Represents a resource that does does not refer to any file, url, jar etc.classclassclassJava NIO Path Resource.classA collection of resources (dirs).classURL resource class.Fields in org.eclipse.jetty.util.resource declared as ResourceMethods in org.eclipse.jetty.util.resource that return ResourceModifier and TypeMethodDescriptionabstract ResourceReturns the resource contained inside the current resource with the given name, which may or may not exist.Add a path to the resource collection.Returns the resource contained inside the current resource with the given nameResource.getResource(String path) Get a resource from within this resource.ResourceFactory.getResource(String path) Get a Resource from a provided String.static ResourceResource.newClassPathResource(String resource) Find a classpath resource.static ResourceResource.newClassPathResource(String name, boolean useCaches, boolean checkParents) Find a classpath resource.static ResourceJarResource.newJarResource(Resource resource) static ResourceResource.newResource(File file) static ResourceResource.newResource(String resource) Construct a resource from a string.static ResourceResource.newResource(String resource, boolean useCaches) Construct a resource from a string.static ResourceResource.newResource(URI uri) Construct a resource from a uri.static ResourceResource.newResource(URL url) Construct a resource from a url.static ResourceResource.newResource(Path path) Construct a Resource from provided pathstatic ResourceResource.newSystemResource(String resource) Construct a system resource from a string.static ResourceResource.resolveAlias(Resource resource) Attempt to resolve the real path of a Resource to potentially remove any symlinks causing the Resource to be an alias.Methods in org.eclipse.jetty.util.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionstatic Comparator<? super Resource>ResourceCollators.byLastModified(boolean sortOrderAscending) static Comparator<? super Resource>ResourceCollators.byName(boolean sortOrderAscending) static Comparator<? super Resource>ResourceCollators.bySize(boolean sortOrderAscending) Parse a list of String delimited resources and return the List of Resources instances it represents.Resource.fromList(String resources, boolean globDirs, ResourceFactory resourceFactory) Parse a delimited String of resource references and return the List of Resources instances it represents.Resource.getAllResources()ResourceCollection.getResources()Retrieves the resource collection's resources.Methods in org.eclipse.jetty.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionbooleanEmptyResource.isContainedIn(Resource r) booleanJarFileResource.isContainedIn(Resource resource) Check if this jar:file: resource is contained in the named resource.booleanPathResource.isContainedIn(Resource r) abstract booleanResource.isContainedIn(Resource r) static booleanResource.isContainedIn(Resource r, Resource containingResource) booleanResourceCollection.isContainedIn(Resource r) booleanURLResource.isContainedIn(Resource containingResource) booleanbooleanReturn true if the passed Resource represents the same resource as the Resource.static ResourceJarResource.newJarResource(Resource resource) booleanbooleanabstract booleanRename the given resourcebooleanbooleanRename the given resourcestatic ResourceResource.resolveAlias(Resource resource) Attempt to resolve the real path of a Resource to potentially remove any symlinks causing the Resource to be an alias.voidResourceCollection.setResources(Resource[] resources) Sets the resource collection's resources.Method parameters in org.eclipse.jetty.util.resource with type arguments of type ResourceModifier and TypeMethodDescriptionvoidResourceCollection.setResources(List<Resource> res) Sets the resource collection's resources.Constructors in org.eclipse.jetty.util.resource with parameters of type ResourceModifierConstructorDescriptionResourceCollection(Resource... resources) Instantiates a new resource collection.Constructor parameters in org.eclipse.jetty.util.resource with type arguments of type ResourceModifierConstructorDescriptionResourceCollection(Collection<Resource> resources) Instantiates a new resource collection. -
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.