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 Resource
AnnotationConfiguration.ParserTask. _resource
Fields 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. _parsedClassNames
Map of classnames scanned and the first location from which scan occurredMethods in org.eclipse.jetty.annotations that return Resource Modifier and Type Method Description Resource
AnnotationParser.ClassInfo. getContainingResource()
Resource
AnnotationConfiguration. getJarFor(javax.servlet.ServletContainerInitializer service)
Resource
AnnotationConfiguration.ParserTask. getResource()
Methods in org.eclipse.jetty.annotations with parameters of type Resource Modifier and Type Method Description void
AnnotationParser. addParsedClass(java.lang.String classname, Resource location)
Add a class as having been parsed.FragmentDescriptor
AnnotationConfiguration. getFragmentFromJar(Resource jar, java.util.List<FragmentDescriptor> frags)
Get the web-fragment.xml from a jarboolean
AnnotationConfiguration. 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.boolean
AnnotationConfiguration. isFromWebInfClasses(WebAppContext context, Resource sci)
Test if the ServletContainerInitializer is from WEB-INF/classesvoid
AnnotationParser. parse(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource r)
Parse a resourceprotected void
AnnotationParser. parseDir(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource root)
Parse all classes in a directoryprotected void
AnnotationParser. parseJar(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource jarResource)
Parse a resource that is a jar file.protected void
AnnotationParser. parseJarEntry(java.util.Set<? extends AnnotationParser.Handler> handlers, Resource jar, MultiReleaseJarFile.VersionedJarEntry entry)
Parse a single entry in a jar fileprotected void
AnnotationParser. 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 void
DeploymentManager. 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 Resource
ScanningAppProvider. 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 void
ScanningAppProvider. setMonitoredDirResource(Resource resource)
Method parameters in org.eclipse.jetty.deploy.providers with type arguments of type Resource Modifier and Type Method Description void
ScanningAppProvider. 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 Server
FileServer. createServer(int port, Resource baseResource)
static Server
OneServletContext. createServer(int port, Resource baseResource)
static Server
OneServletContextWithSession. createServer(int port, Resource baseResource)
static Server
SplitFileServer. 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 Resource
HttpContent. getResource()
Resource
PrecompressedHttpContent. getResource()
Resource
ResourceHttpContent. 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 class
SelectiveJarResource
SelectiveJarResource 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 Resource
JettyRunMojo. originalBaseResource
Methods in org.eclipse.jetty.maven.plugin that return Resource Modifier and Type Method Description Resource
JettyWebAppContext. getQuickStartWebDescriptor()
Resource
JettyWebAppContext. getResource(java.lang.String uriInContext)
Resource
Overlay. getResource()
Resource
JettyRunMojo. 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 void
JettyWebAppContext. setQuickStartWebDescriptor(Resource quickStartWebXml)
void
Overlay. 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 Resource
AnnotationConfiguration. getJarFor(javax.servlet.ServletContainerInitializer service)
protected Resource
AnnotationParser. getResource(org.osgi.framework.Bundle bundle)
Resource
AnnotationParser. 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.Bundle
AnnotationParser. 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 Resource
AbstractOSGiApp. findFile(java.lang.String fileName, java.lang.String jettyHome, java.lang.String bundleOverrideLocation, org.osgi.framework.Bundle containingBundle)
protected Resource
AbstractOSGiApp. getFileAsResource(java.lang.String file)
protected Resource
AbstractOSGiApp. 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 void
AbstractWebAppProvider.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 Resource
DefaultJettyAtJettyHomeHelper. 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 Resource
QuickStartConfiguration. 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 void
PreconfigureQuickStartWar. preconfigure(Resource war, Resource dir, Resource xml)
void
QuickStartDescriptorProcessor. 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 Resource
HashLoginService. getConfigResource()
Deprecated.Resource
PropertyUserStore. getConfigResource()
-
Uses of Resource in org.eclipse.jetty.server
Methods in org.eclipse.jetty.server that return Resource Modifier and Type Method Description Resource
CachedContentFactory.CachedHttpContent. getResource()
Methods in org.eclipse.jetty.server with parameters of type Resource Modifier and Type Method Description boolean
AllowedResourceAliasChecker. check(java.lang.String pathInContext, Resource resource)
boolean
SameFileAliasChecker. check(java.lang.String uri, Resource resource)
Deprecated.protected java.nio.ByteBuffer
CachedContentFactory. getDirectBuffer(Resource resource)
protected java.nio.ByteBuffer
CachedContentFactory. getIndirectBuffer(Resource resource)
protected java.nio.ByteBuffer
CachedContentFactory. getMappedBuffer(Resource resource)
protected java.nio.file.Path
AllowedResourceAliasChecker. getPath(Resource resource)
protected boolean
CachedContentFactory. isCacheable(Resource resource)
protected void
ResourceService. 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 Resource
ContextHandler. getBaseResource()
Resource
ResourceHandler. getBaseResource()
static Resource
ResourceHandler. getDefaultStylesheet()
Resource
ContextHandler. getResource(java.lang.String path)
Resource
ResourceHandler. getResource(java.lang.String path)
Resource
ResourceHandler. getStylesheet()
Resource
ContextHandler. newResource(java.lang.String urlOrPath)
Convert a URL or path to a Resource.Resource
ContextHandler. newResource(java.net.URI uri)
Convert URL to Resource wrapper fornewResource(URL)
enables extensions to provide alternate resource implementations.Resource
ContextHandler. 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 boolean
AllowSymLinkAliasChecker. check(java.lang.String uri, Resource resource)
Deprecated.boolean
ContextHandler.AliasCheck. check(java.lang.String path, Resource resource)
Check an aliasboolean
ContextHandler.ApproveAliases. check(java.lang.String path, Resource resource)
Deprecated.boolean
ContextHandler.ApproveNonExistentDirectoryAliases. check(java.lang.String path, Resource resource)
Deprecated.boolean
ContextHandler. checkAlias(java.lang.String path, Resource resource)
void
ContextHandler. setBaseResource(Resource base)
Set the base resource for this context.void
ResourceHandler. 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 Resource
DefaultServlet. 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 void
SpringConfigurationProcessor. 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.ByteBuffer
BufferUtil. 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 class
EmptyResource
EmptyResource Represents a resource that does does not refer to any file, url, jar etc.class
FileResource
Deprecated.UsePathResource
class
JarFileResource
class
JarResource
class
PathResource
Java NIO Path equivalent of FileResource.class
ResourceCollection
A collection of resources (dirs).class
URLResource
URL resource class.Fields in org.eclipse.jetty.util.resource declared as Resource Modifier and Type Field Description static Resource
EmptyResource. INSTANCE
Methods in org.eclipse.jetty.util.resource that return Resource Modifier and Type Method Description Resource
EmptyResource. addPath(java.lang.String path)
Resource
FileResource. addPath(java.lang.String path)
Deprecated.Resource
PathResource. addPath(java.lang.String subPath)
abstract Resource
Resource. addPath(java.lang.String path)
Returns the resource contained inside the current resource with the given name.Resource
ResourceCollection. addPath(java.lang.String path)
Resource
URLResource. addPath(java.lang.String path)
Returns the resource contained inside the current resource with the given namestatic Resource
JarFileResource. getNonCachingResource(Resource resource)
Take a Resource that possibly might use URLConnection caching and turn it into one that doesn't.Resource
Resource. getResource(java.lang.String path)
Get a resource from within this resource.Resource
ResourceFactory. getResource(java.lang.String path)
Get a resource for a path.Resource[]
ResourceCollection. getResources()
Retrieves the resource collection's resources.static Resource
Resource. newClassPathResource(java.lang.String resource)
Find a classpath resource.static Resource
Resource. newClassPathResource(java.lang.String name, boolean useCaches, boolean checkParents)
Find a classpath resource.static Resource
JarResource. newJarResource(Resource resource)
static Resource
Resource. newResource(java.io.File file)
static Resource
Resource. newResource(java.lang.String resource)
Construct a resource from a string.static Resource
Resource. newResource(java.lang.String resource, boolean useCaches)
Construct a resource from a string.static Resource
Resource. newResource(java.net.URI uri)
Construct a resource from a uri.static Resource
Resource. newResource(java.net.URL url)
Construct a resource from a url.static Resource
Resource. newResource(java.nio.file.Path path)
Construct a Resource from provided pathstatic Resource
Resource. 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 Resource
JarFileResource. getNonCachingResource(Resource resource)
Take a Resource that possibly might use URLConnection caching and turn it into one that doesn't.boolean
EmptyResource. isContainedIn(Resource r)
boolean
FileResource. isContainedIn(Resource r)
Deprecated.boolean
JarFileResource. isContainedIn(Resource resource)
Check if this jar:file: resource is contained in the named resource.boolean
PathResource. isContainedIn(Resource r)
abstract boolean
Resource. isContainedIn(Resource r)
static boolean
Resource. isContainedIn(Resource r, Resource containingResource)
boolean
ResourceCollection. isContainedIn(Resource r)
boolean
URLResource. isContainedIn(Resource containingResource)
boolean
FileResource. isSame(Resource resource)
Deprecated.boolean
PathResource. isSame(Resource resource)
boolean
Resource. isSame(Resource resource)
Return true if the passed Resource represents the same resource as the Resource.static Resource
JarResource. newJarResource(Resource resource)
boolean
EmptyResource. renameTo(Resource dest)
boolean
FileResource. renameTo(Resource dest)
Deprecated.Rename the given resourceboolean
PathResource. renameTo(Resource dest)
abstract boolean
Resource. renameTo(Resource dest)
Rename the given resourceboolean
ResourceCollection. renameTo(Resource dest)
boolean
URLResource. renameTo(Resource dest)
Rename the given resourcevoid
ResourceCollection. 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.KeyStore
CertificateUtils. 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 Resource
SslContextFactory. getKeyStoreResource()
Resource
SslContextFactory. getTrustStoreResource()
Methods in org.eclipse.jetty.util.ssl with parameters of type Resource Modifier and Type Method Description protected java.security.KeyStore
SslContextFactory. loadKeyStore(Resource resource)
Override this method to provide alternate way to load a keystore.protected java.security.KeyStore
SslContextFactory. loadTrustStore(Resource resource)
Override this method to provide alternate way to load a truststore.void
SslContextFactory. setKeyStoreResource(Resource resource)
Set the key store resource.void
SslContextFactory. 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 Resource
WebInfConfiguration. _preUnpackBaseResource
protected Resource
DiscoveredAnnotation. _resource
protected Resource
Descriptor. _xml
static Resource
MetaData. NON_FRAG_RESOURCE
Fields 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. _annotations
protected java.util.List<Resource>
MetaData. _orderedContainerResources
protected java.util.List<Resource>
MetaData. _orderedWebInfResources
protected java.util.Map<Resource,FragmentDescriptor>
MetaData. _webFragmentResourceMap
protected java.util.List<Resource>
MetaData. _webInfClasses
protected java.util.List<Resource>
MetaData. _webInfJars
Methods in org.eclipse.jetty.webapp that return Resource Modifier and Type Method Description protected Resource
WebInfConfiguration. findWebInfClassesDir(WebAppContext context)
GetWEB-INF/classes
dirprotected Resource
WebXmlConfiguration. findWebXml(WebAppContext context)
Resource
MetaData. getJarForFragment(java.lang.String name)
Resource
Descriptor. getResource()
Resource
DiscoveredAnnotation. getResource()
Resource
WebAppContext. getResource(java.lang.String uriInContext)
Resource
WebAppContext. getWebInf()
Resource
WebAppClassLoader.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/lib
java.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 void
WebAppClassLoader. addClassPath(Resource resource)
void
MetaData. addContainerResource(Resource jar)
void
MetaData. addFragment(Resource jarResource, Resource xmlResource)
Add a web-fragment.xmlvoid
WebAppClassLoader. addJars(Resource lib)
Add elements to the class path for the context from the jar and zip files found in the specified resource.void
MetaData. addOverride(Resource override)
void
MetaData. addWebInfJar(Resource newResource)
FragmentDescriptor
MetaData. getFragment(Resource jar)
protected static java.lang.String
WebInfConfiguration. getResourceBaseName(Resource resource)
void
MetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.void
MetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.void
MetaInfConfiguration. 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 jarvoid
MetaData. setDefaults(Resource webDefaults)
void
WebAppContext. setWarResource(Resource war)
Set the war of the webapp as aResource
.void
MetaData. 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)
void
MetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.void
MetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.void
MetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.void
MetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.void
MetaInfConfiguration. 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 jarvoid
MetaInfConfiguration. scanJars(WebAppContext context, java.util.Collection<Resource> jars, boolean useCaches)
For backwards compatibility.void
MetaInfConfiguration. 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.void
MetaData. 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 void
ConfigurationProcessor. init(Resource resource, XmlParser.Node root, XmlConfiguration configuration)
Initialize a ConfigurationProcessor from provided Resource and XMLvoid
XmlConfiguration. 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.
-