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.classFileResourceDeprecated.UsePathResourceclassJarFileResourceclassJarResourceclassPathResourceJava NIO Path equivalent of FileResource.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)ResourceFileResource. addPath(java.lang.String path)Deprecated.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.ResourceResourceCollection. addPath(java.lang.String path)ResourceURLResource. addPath(java.lang.String path)Returns the resource contained inside the current resource with the given namestatic ResourceJarFileResource. getNonCachingResource(Resource resource)Take a Resource that possibly might use URLConnection caching and turn it into one that doesn't.ResourceResource. getResource(java.lang.String path)Get a resource from within this resource.ResourceResourceFactory. getResource(java.lang.String path)Get a resource for a path.Resource[]ResourceCollection. getResources()Retrieves the resource collection's resources.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)java.util.Collection<Resource>Resource. getAllResources()Methods in org.eclipse.jetty.util.resource with parameters of type Resource Modifier and Type Method Description static ResourceJarFileResource. getNonCachingResource(Resource resource)Take a Resource that possibly might use URLConnection caching and turn it into one that doesn't.booleanEmptyResource. isContainedIn(Resource r)booleanFileResource. isContainedIn(Resource r)Deprecated.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)booleanFileResource. isSame(Resource resource)Deprecated.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)booleanFileResource. renameTo(Resource dest)Deprecated.Rename the given resourcebooleanPathResource. 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.Constructors in org.eclipse.jetty.util.resource with parameters of type Resource Constructor Description ResourceCollection(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.
-