Uses of Class
org.eclipse.jetty.util.resource.Resource
-
Packages that use Resource Package Description org.eclipse.jetty.annotations Jetty Annotations : Support for Servlet Annotationsorg.eclipse.jetty.deploy Jetty Deploy : Webapp Deploy Managementorg.eclipse.jetty.deploy.providers Jetty Deploy : Webapp Deployment Providersorg.eclipse.jetty.embedded org.eclipse.jetty.http Jetty Http : Tools for Http processingorg.eclipse.jetty.maven.plugin Jetty Maven Plugin : Support for Jetty in Maven build lifecycleorg.eclipse.jetty.osgi.annotations org.eclipse.jetty.osgi.boot org.eclipse.jetty.osgi.boot.internal.serverfactory org.eclipse.jetty.quickstart org.eclipse.jetty.security Jetty Security : Modular Support for Security in Jettyorg.eclipse.jetty.server Jetty Server : Core Server APIorg.eclipse.jetty.server.handler Jetty Server : Core Handler APIorg.eclipse.jetty.servlet Jetty Server : Modular Servlet Integrationorg.eclipse.jetty.spring Jetty Spring : (Deprecated) Spring IoC Configuration for Jettyorg.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 Classesorg.eclipse.jetty.webapp Jetty Util : Modular Web Application Supportorg.eclipse.jetty.xml Jetty Xml : IoC Mechanism for Jetty Configuration -
-
Uses of Resource in org.eclipse.jetty.annotations
Fields in org.eclipse.jetty.annotations declared as Resource Modifier and Type Field Description protected ResourceAnnotationConfiguration.ParserTask. _resourceFields in org.eclipse.jetty.annotations with type parameters of type Resource Modifier and Type Field Description protected java.util.Map<java.lang.String,Resource>AnnotationParser. _parsedClassNamesMap of classnames scanned and the first location from which scan occurredMethods in org.eclipse.jetty.annotations that return Resource Modifier and Type Method Description ResourceAnnotationParser.ClassInfo. getContainingResource()ResourceAnnotationConfiguration. getJarFor(javax.servlet.ServletContainerInitializer service)ResourceAnnotationConfiguration.ParserTask. getResource()Methods in org.eclipse.jetty.annotations with parameters of type Resource Modifier and Type Method Description voidAnnotationParser. addParsedClass(java.lang.String classname, Resource location)Add a class as having been parsed.FragmentDescriptorAnnotationConfiguration. getFragmentFromJar(Resource jar, java.util.List<FragmentDescriptor> frags)Get the web-fragment.xml from a jarbooleanAnnotationConfiguration. isFromExcludedJar(WebAppContext context, javax.servlet.ServletContainerInitializer sci, Resource sciResource)Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering.booleanAnnotationConfiguration. isFromWebInfClasses(WebAppContext context, Resource sci)Test if the ServletContainerInitializer is from WEB-INF/classesvoidAnnotationParser. parse(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource r)Parse a resourceprotected voidAnnotationParser. parseDir(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource root)Parse all classes in a directoryprotected voidAnnotationParser. parseJar(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource jarResource)Parse a resource that is a jar file.protected voidAnnotationParser. parseJarEntry(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource jar, MultiReleaseJarFile.VersionedJarEntry entry)Parse a single entry in a jar fileprotected voidAnnotationParser. scanClass(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, java.io.InputStream is)Use ASM on a classConstructors in org.eclipse.jetty.annotations with parameters of type Resource Constructor Description ClassInfo(Resource resource, java.lang.String className, int version, int access, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)MyClassVisitor(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion)ParserTask(AnnotationParser parser, java.util.Set<? extends AnnotationParser.Handler> handlers, Resource resource)WebFilterAnnotation(WebAppContext context, java.lang.String className, Resource resource)WebListenerAnnotation(WebAppContext context, java.lang.String className, Resource resource)WebServletAnnotation(WebAppContext context, java.lang.String className, Resource resource) -
Uses of Resource in org.eclipse.jetty.deploy
Methods in org.eclipse.jetty.deploy with parameters of type Resource Modifier and Type Method Description voidDeploymentManager. scope(XmlConfiguration xmlc, Resource webapp) -
Uses of Resource in org.eclipse.jetty.deploy.providers
Methods in org.eclipse.jetty.deploy.providers that return Resource Modifier and Type Method Description ResourceScanningAppProvider. getMonitoredDirResource()Methods in org.eclipse.jetty.deploy.providers that return types with arguments of type Resource Modifier and Type Method Description java.util.List<Resource>ScanningAppProvider. getMonitoredResources()Methods in org.eclipse.jetty.deploy.providers with parameters of type Resource Modifier and Type Method Description voidScanningAppProvider. setMonitoredDirResource(Resource resource)Method parameters in org.eclipse.jetty.deploy.providers with type arguments of type Resource Modifier and Type Method Description voidScanningAppProvider. setMonitoredResources(java.util.List<Resource> resources) -
Uses of Resource in org.eclipse.jetty.embedded
Methods in org.eclipse.jetty.embedded with parameters of type Resource Modifier and Type Method Description static ServerFileServer. createServer(int port, Resource baseResource)static ServerOneServletContext. createServer(int port, Resource baseResource)static ServerOneServletContextWithSession. createServer(int port, Resource baseResource)static ServerSplitFileServer. createServer(int port, Resource baseResource0, Resource baseResource1) -
Uses of Resource in org.eclipse.jetty.http
Methods in org.eclipse.jetty.http that return Resource Modifier and Type Method Description ResourceHttpContent. getResource()ResourcePrecompressedHttpContent. getResource()ResourceResourceHttpContent. getResource()Constructors in org.eclipse.jetty.http with parameters of type Resource Constructor Description ResourceHttpContent(Resource resource, java.lang.String contentType)ResourceHttpContent(Resource resource, java.lang.String contentType, int maxBuffer)ResourceHttpContent(Resource resource, java.lang.String contentType, int maxBuffer, java.util.Map<CompressedContentFormat,HttpContent> precompressedContents) -
Uses of Resource in org.eclipse.jetty.maven.plugin
Subclasses of Resource in org.eclipse.jetty.maven.plugin Modifier and Type Class Description classSelectiveJarResourceSelectiveJarResource Selectively copies resources from a jar file based on includes/excludes.Fields in org.eclipse.jetty.maven.plugin declared as Resource Modifier and Type Field Description protected ResourceJettyRunMojo. originalBaseResourceMethods in org.eclipse.jetty.maven.plugin that return Resource Modifier and Type Method Description ResourceJettyWebAppContext. getQuickStartWebDescriptor()ResourceJettyWebAppContext. getResource(java.lang.String uriInContext)ResourceOverlay. getResource()ResourceJettyRunMojo. unpackOverlay(Overlay overlay)Methods in org.eclipse.jetty.maven.plugin that return types with arguments of type Resource Modifier and Type Method Description protected java.util.List<Resource>MavenWebInfConfiguration. findClassDirs(WebAppContext context)Add in the classes dirs from test/classes and target/classesprotected java.util.List<Resource>MavenWebInfConfiguration. findJars(WebAppContext context)Get the jars to examine from the files from which we have synthesized the classpath.Methods in org.eclipse.jetty.maven.plugin with parameters of type Resource Modifier and Type Method Description protected voidJettyWebAppContext. setQuickStartWebDescriptor(Resource quickStartWebXml)voidOverlay. setResource(Resource r)Constructors in org.eclipse.jetty.maven.plugin with parameters of type Resource Constructor Description Overlay(OverlayConfig config, Resource resource) -
Uses of Resource in org.eclipse.jetty.osgi.annotations
Methods in org.eclipse.jetty.osgi.annotations that return Resource Modifier and Type Method Description ResourceAnnotationConfiguration. getJarFor(javax.servlet.ServletContainerInitializer service)protected ResourceAnnotationParser. getResource(org.osgi.framework.Bundle bundle)ResourceAnnotationParser. indexBundle(org.osgi.framework.Bundle bundle)Keep track of a jetty URI Resource and its associated OSGi bundle.Methods in org.eclipse.jetty.osgi.annotations with parameters of type Resource Modifier and Type Method Description protected org.osgi.framework.BundleAnnotationParser. getBundle(Resource resource)Constructors in org.eclipse.jetty.osgi.annotations with parameters of type Resource Constructor Description BundleParserTask(AnnotationParser parser, java.util.Set<? extends AnnotationParser.Handler> handlers, Resource resource) -
Uses of Resource in org.eclipse.jetty.osgi.boot
Methods in org.eclipse.jetty.osgi.boot that return Resource Modifier and Type Method Description protected ResourceAbstractOSGiApp. findFile(java.lang.String fileName, java.lang.String jettyHome, java.lang.String bundleOverrideLocation, org.osgi.framework.Bundle containingBundle)protected ResourceAbstractOSGiApp. getFileAsResource(java.lang.String file)protected ResourceAbstractOSGiApp. getFileAsResource(java.lang.String dir, java.lang.String file)Methods in org.eclipse.jetty.osgi.boot that return types with arguments of type Resource Modifier and Type Method Description protected java.util.List<Resource>OSGiWebInfConfiguration. findJars(WebAppContext context)Consider the fragment bundles associated with the bundle of the webapp being deployed.Methods in org.eclipse.jetty.osgi.boot with parameters of type Resource Modifier and Type Method Description protected voidAbstractWebAppProvider.OSGiApp. applyMetaInfContextXml(Resource rootResource, java.lang.String overrideBundleInstallLocation) -
Uses of Resource in org.eclipse.jetty.osgi.boot.internal.serverfactory
Methods in org.eclipse.jetty.osgi.boot.internal.serverfactory that return Resource Modifier and Type Method Description static ResourceDefaultJettyAtJettyHomeHelper. findDir(org.osgi.framework.Bundle bundle, java.lang.String dir)Get a resource representing a directory inside a bundle. -
Uses of Resource in org.eclipse.jetty.quickstart
Methods in org.eclipse.jetty.quickstart that return Resource Modifier and Type Method Description ResourceQuickStartConfiguration. getQuickStartWebXml(WebAppContext context)Get the quickstart-web.xml file as a Resource.Methods in org.eclipse.jetty.quickstart with parameters of type Resource Modifier and Type Method Description static voidPreconfigureQuickStartWar. preconfigure(Resource war, Resource dir, Resource xml)voidQuickStartDescriptorProcessor. visitMetaInfResource(WebAppContext context, Resource dir)Constructors in org.eclipse.jetty.quickstart with parameters of type Resource Constructor Description AttributeNormalizer(Resource baseResource) -
Uses of Resource in org.eclipse.jetty.security
Methods in org.eclipse.jetty.security that return Resource Modifier and Type Method Description ResourceHashLoginService. getConfigResource()Deprecated.ResourcePropertyUserStore. getConfigResource() -
Uses of Resource in org.eclipse.jetty.server
Methods in org.eclipse.jetty.server that return Resource Modifier and Type Method Description ResourceCachedContentFactory.CachedHttpContent. getResource()Methods in org.eclipse.jetty.server with parameters of type Resource Modifier and Type Method Description booleanAllowedResourceAliasChecker. check(java.lang.String pathInContext, Resource resource)booleanSameFileAliasChecker. check(java.lang.String uri, Resource resource)Deprecated.protected java.nio.ByteBufferCachedContentFactory. getDirectBuffer(Resource resource)protected java.nio.ByteBufferCachedContentFactory. getIndirectBuffer(Resource resource)protected java.nio.ByteBufferCachedContentFactory. getMappedBuffer(Resource resource)protected java.nio.file.PathAllowedResourceAliasChecker. getPath(Resource resource)protected booleanCachedContentFactory. isCacheable(Resource resource)protected voidResourceService. sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource, java.lang.String pathInContext) -
Uses of Resource in org.eclipse.jetty.server.handler
Methods in org.eclipse.jetty.server.handler that return Resource Modifier and Type Method Description ResourceContextHandler. getBaseResource()ResourceResourceHandler. getBaseResource()static ResourceResourceHandler. getDefaultStylesheet()ResourceContextHandler. getResource(java.lang.String path)ResourceResourceHandler. getResource(java.lang.String path)ResourceResourceHandler. getStylesheet()ResourceContextHandler. newResource(java.lang.String urlOrPath)Convert a URL or path to a Resource.ResourceContextHandler. newResource(java.net.URI uri)Convert URL to Resource wrapper fornewResource(URL)enables extensions to provide alternate resource implementations.ResourceContextHandler. newResource(java.net.URL url)Convert URL to Resource wrapper fornewResource(URL)enables extensions to provide alternate resource implementations.Methods in org.eclipse.jetty.server.handler with parameters of type Resource Modifier and Type Method Description booleanAllowSymLinkAliasChecker. check(java.lang.String uri, Resource resource)Deprecated.booleanContextHandler.AliasCheck. check(java.lang.String path, Resource resource)Check an aliasbooleanContextHandler.ApproveAliases. check(java.lang.String path, Resource resource)Deprecated.booleanContextHandler.ApproveNonExistentDirectoryAliases. check(java.lang.String path, Resource resource)Deprecated.booleanContextHandler. checkAlias(java.lang.String path, Resource resource)voidContextHandler. setBaseResource(Resource base)Set the base resource for this context.voidResourceHandler. setBaseResource(Resource base) -
Uses of Resource in org.eclipse.jetty.servlet
Methods in org.eclipse.jetty.servlet that return Resource Modifier and Type Method Description ResourceDefaultServlet. getResource(java.lang.String pathInContext)get Resource to serve. -
Uses of Resource in org.eclipse.jetty.spring
Methods in org.eclipse.jetty.spring with parameters of type Resource Modifier and Type Method Description voidSpringConfigurationProcessor. init(Resource jettyResource, XmlParser.Node config, XmlConfiguration configuration)Deprecated. -
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. -
Uses of Resource in org.eclipse.jetty.webapp
Fields in org.eclipse.jetty.webapp declared as Resource Modifier and Type Field Description protected ResourceWebInfConfiguration. _preUnpackBaseResourceprotected ResourceDiscoveredAnnotation. _resourceprotected ResourceDescriptor. _xmlstatic ResourceMetaData. NON_FRAG_RESOURCEFields in org.eclipse.jetty.webapp with type parameters of type Resource Modifier and Type Field Description protected java.util.Map<Resource,java.util.List<DiscoveredAnnotation>>MetaData. _annotationsprotected java.util.List<Resource>MetaData. _orderedContainerResourcesprotected java.util.List<Resource>MetaData. _orderedWebInfResourcesprotected java.util.Map<Resource,FragmentDescriptor>MetaData. _webFragmentResourceMapprotected java.util.List<Resource>MetaData. _webInfClassesprotected java.util.List<Resource>MetaData. _webInfJarsMethods in org.eclipse.jetty.webapp that return Resource Modifier and Type Method Description protected ResourceWebInfConfiguration. findWebInfClassesDir(WebAppContext context)GetWEB-INF/classesdirprotected ResourceWebXmlConfiguration. findWebXml(WebAppContext context)ResourceMetaData. getJarForFragment(java.lang.String name)ResourceDescriptor. getResource()ResourceDiscoveredAnnotation. getResource()ResourceWebAppContext. getResource(java.lang.String uriInContext)ResourceWebAppContext. getWebInf()ResourceWebAppClassLoader.Context. newResource(java.lang.String urlOrPath)Convert a URL or path to a Resource.Methods in org.eclipse.jetty.webapp that return types with arguments of type Resource Modifier and Type Method Description protected java.util.List<Resource>WebInfConfiguration. findClassDirs(WebAppContext context)protected java.util.List<Resource>WebInfConfiguration. findExtraClasspathDirs(WebAppContext context)Get class dirs from WebAppContext.getExtraClasspath as resourcesprotected java.util.List<Resource>WebInfConfiguration. findExtraClasspathJars(WebAppContext context)Get jars from WebAppContext.getExtraClasspath as resourcesprotected java.util.List<Resource>WebInfConfiguration. findJars(WebAppContext context)Look for jars that should be treated as if they are in WEB-INF/libprotected java.util.List<Resource>WebInfConfiguration. findWebInfLibJars(WebAppContext context)Look for jars inWEB-INF/libjava.util.List<Resource>MetaData. getContainerResources()java.util.List<Resource>MetaData. getOrderedWebInfJars()java.util.List<Resource>MetaData. getWebInfClassesDirs()java.util.List<Resource>MetaData. getWebInfJars()java.util.List<Resource>AbsoluteOrdering. order(java.util.List<Resource> jars)java.util.List<Resource>Ordering. order(java.util.List<Resource> fragments)java.util.List<Resource>RelativeOrdering. order(java.util.List<Resource> jars)Methods in org.eclipse.jetty.webapp with parameters of type Resource Modifier and Type Method Description voidWebAppClassLoader. addClassPath(Resource resource)voidMetaData. addContainerResource(Resource jar)voidMetaData. addFragment(Resource jarResource, Resource xmlResource)Add a web-fragment.xmlvoidWebAppClassLoader. addJars(Resource lib)Add elements to the class path for the context from the jar and zip files found in the specified resource.voidMetaData. addOverride(Resource override)voidMetaData. addWebInfJar(Resource newResource)FragmentDescriptorMetaData. getFragment(Resource jar)protected static java.lang.StringWebInfConfiguration. getResourceBaseName(Resource resource)voidMetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration. scanForTlds(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)Discover META-INF/*.tld files in the given jarvoidMetaData. setDefaults(Resource webDefaults)voidWebAppContext. setWarResource(Resource war)Set the war of the webapp as aResource.voidMetaData. setWebXml(Resource webXml)Method parameters in org.eclipse.jetty.webapp with type arguments of type Resource Modifier and Type Method Description java.util.List<Resource>AbsoluteOrdering. order(java.util.List<Resource> jars)java.util.List<Resource>Ordering. order(java.util.List<Resource> fragments)java.util.List<Resource>RelativeOrdering. order(java.util.List<Resource> jars)voidMetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration. scanForTlds(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)Discover META-INF/*.tld files in the given jarvoidMetaInfConfiguration. scanJars(WebAppContext context, java.util.Collection<Resource> jars, boolean useCaches)For backwards compatibility.voidMetaInfConfiguration. scanJars(WebAppContext context, java.util.Collection<Resource> jars, boolean useCaches, java.util.List<java.lang.String> scanTypes)Look into the jars to discover info in META-INF.voidMetaData. setWebInfClassesDirs(java.util.List<Resource> dirs)Constructors in org.eclipse.jetty.webapp with parameters of type Resource Constructor Description DefaultsDescriptor(Resource xml)Descriptor(Resource xml)DiscoveredAnnotation(WebAppContext context, java.lang.String className, Resource resource)FragmentDescriptor(Resource xml)OverrideDescriptor(Resource xml)WebAppContext(HandlerContainer parent, Resource webApp, java.lang.String contextPath)WebAppContext(Resource webApp, java.lang.String contextPath)WebDescriptor(Resource xml) -
Uses of Resource in org.eclipse.jetty.xml
Methods in org.eclipse.jetty.xml with parameters of type Resource Modifier and Type Method Description default voidConfigurationProcessor. init(Resource resource, XmlParser.Node root, XmlConfiguration configuration)Initialize a ConfigurationProcessor from provided Resource and XMLvoidXmlConfiguration. setJettyStandardIdsAndProperties(java.lang.Object server, Resource webapp)Set the standard IDs and properties expected in a jetty XML file: RefId Server Property jetty.home Property jetty.home.uri Property jetty.base Property jetty.base.uri Property jetty.webapps Property jetty.webapps.uriConstructors in org.eclipse.jetty.xml with parameters of type Resource Constructor Description XmlConfiguration(Resource resource)Reads and parses the XML configuration file.
-