Uses of Class
org.eclipse.jetty.util.resource.Resource
-
Packages that use Resource Package Description org.eclipse.jetty.util Jetty Util : Common Utility Classesorg.eclipse.jetty.util.resource Jetty Util : Common Resource Utilitiesorg.eclipse.jetty.util.security Jetty Util : Common Security Utilitiesorg.eclipse.jetty.util.ssl 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 Modifier and Type Method Description static java.nio.ByteBufferBufferUtil. toBuffer(Resource resource, boolean direct) -
Uses of Resource in org.eclipse.jetty.util.resource
Subclasses of Resource in org.eclipse.jetty.util.resource Modifier and Type Class Description classEmptyResourceEmptyResource Represents a resource that does does not refer to any file, url, jar etc.classJarFileResourceclassJarResourceclassPathResourceJava NIO Path Resource.classResourceCollectionA collection of resources (dirs).classURLResourceURL resource class.Fields in org.eclipse.jetty.util.resource declared as Resource Modifier and Type Field Description static ResourceEmptyResource. INSTANCEMethods in org.eclipse.jetty.util.resource that return Resource Modifier and Type Method Description ResourceEmptyResource. addPath(java.lang.String path)ResourcePathResource. addPath(java.lang.String subPath)abstract ResourceResource. addPath(java.lang.String path)Returns the resource contained inside the current resource with the given name, which may or may not exist.ResourceResourceCollection. addPath(java.lang.String path)Add a path to the resource collection.ResourceURLResource. addPath(java.lang.String path)Returns the resource contained inside the current resource with the given nameResourceResource. getResource(java.lang.String path)Get a resource from within this resource.ResourceResourceFactory. getResource(java.lang.String path)Get a Resource from a provided String.static ResourceResource. newClassPathResource(java.lang.String resource)Find a classpath resource.static ResourceResource. newClassPathResource(java.lang.String name, boolean useCaches, boolean checkParents)Find a classpath resource.static ResourceJarResource. newJarResource(Resource resource)static ResourceResource. newResource(java.io.File file)static ResourceResource. newResource(java.lang.String resource)Construct a resource from a string.static ResourceResource. newResource(java.lang.String resource, boolean useCaches)Construct a resource from a string.static ResourceResource. newResource(java.net.URI uri)Construct a resource from a uri.static ResourceResource. newResource(java.net.URL url)Construct a resource from a url.static ResourceResource. newResource(java.nio.file.Path path)Construct a Resource from provided pathstatic ResourceResource. newSystemResource(java.lang.String resource)Construct a system resource from a string.Methods in org.eclipse.jetty.util.resource that return types with arguments of type Resource Modifier and Type Method Description static java.util.Comparator<? super Resource>ResourceCollators. byLastModified(boolean sortOrderAscending)static java.util.Comparator<? super Resource>ResourceCollators. byName(boolean sortOrderAscending)static java.util.Comparator<? super Resource>ResourceCollators. bySize(boolean sortOrderAscending)static java.util.List<Resource>Resource. fromList(java.lang.String resources, boolean globDirs)Parse a list of String delimited resources and return the List of Resources instances it represents.static java.util.List<Resource>Resource. fromList(java.lang.String resources, boolean globDirs, ResourceFactory resourceFactory)Parse a delimited String of resource references and return the List of Resources instances it represents.java.util.Collection<Resource>Resource. getAllResources()java.util.List<Resource>ResourceCollection. getResources()Retrieves the resource collection's resources.Methods in org.eclipse.jetty.util.resource with parameters of type Resource Modifier and Type Method Description booleanEmptyResource. 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)booleanPathResource. isSame(Resource resource)booleanResource. isSame(Resource resource)Return true if the passed Resource represents the same resource as the Resource.static ResourceJarResource. newJarResource(Resource resource)booleanEmptyResource. renameTo(Resource dest)booleanPathResource. renameTo(Resource dest)abstract booleanResource. renameTo(Resource dest)Rename the given resourcebooleanResourceCollection. renameTo(Resource dest)booleanURLResource. renameTo(Resource dest)Rename the given resourcevoidResourceCollection. setResources(Resource[] resources)Sets the resource collection's resources.Method parameters in org.eclipse.jetty.util.resource with type arguments of type Resource Modifier and Type Method Description voidResourceCollection. setResources(java.util.List<Resource> res)Sets the resource collection's resources.Constructors in org.eclipse.jetty.util.resource with parameters of type Resource Constructor Description ResourceCollection(Resource... resources)Instantiates a new resource collection.Constructor parameters in org.eclipse.jetty.util.resource with type arguments of type Resource Constructor Description ResourceCollection(java.util.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 Modifier and Type Method Description static java.security.KeyStoreCertificateUtils. getKeyStore(Resource store, java.lang.String storeType, java.lang.String storeProvider, java.lang.String storePassword) -
Uses of Resource in org.eclipse.jetty.util.ssl
Methods in org.eclipse.jetty.util.ssl that return Resource Modifier and Type Method Description ResourceSslContextFactory. getKeyStoreResource()ResourceSslContextFactory. getTrustStoreResource()Methods in org.eclipse.jetty.util.ssl with parameters of type Resource Modifier and Type Method Description protected java.security.KeyStoreSslContextFactory. loadKeyStore(Resource resource)Override this method to provide alternate way to load a keystore.protected java.security.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.
-