Uses of Class
org.eclipse.jetty.util.resource.Resource
Packages that use Resource
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Deploy : Webapp Deploy Management
Jetty Deploy : Webapp Deployment Providers
Jetty Http : Tools for Http processing
Jetty Security : Modular Support for Security in Jetty
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty Server : Modular Servlet Integration
Jetty Util : Common Utility Classes
Jetty Util : Common Resource Utilities
Jetty Util : Common Security Utilities
Jetty Util : Common SSL Utility Classes
Jetty Util : Modular Web Application Support
Jetty Xml : IoC Mechanism for Jetty Configuration
-
Uses of Resource in org.eclipse.jetty.annotations
Fields in org.eclipse.jetty.annotations declared as ResourceModifier and TypeFieldDescription(package private) final ResourceAnnotationParser.ClassInfo._containingResource(package private) final ResourceAnnotationParser.MyClassVisitor._containingResourceprotected final ResourceAnnotationConfiguration.ParserTask._resourceFields in org.eclipse.jetty.annotations with type parameters of type ResourceModifier and TypeFieldDescriptionAnnotationParser._parsedClassNamesMap of classnames scanned and the first location from which scan occurredMethods in org.eclipse.jetty.annotations that return ResourceModifier and TypeMethodDescriptionAnnotationParser.ClassInfo.getContainingResource()AnnotationConfiguration.getJarFor(javax.servlet.ServletContainerInitializer service) AnnotationConfiguration.ParserTask.getResource()Methods in org.eclipse.jetty.annotations with parameters of type ResourceModifier and TypeMethodDescriptionvoidAnnotationParser.addParsedClass(String classname, Resource location) Add a class as having been parsed.AnnotationConfiguration.getFragmentFromJar(Resource jar, 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(Set<? extends AnnotationParser.Handler> handlers, Resource r) Parse a resourceprotected voidAnnotationParser.parseDir(Set<? extends AnnotationParser.Handler> handlers, Resource root) Parse all classes in a directoryprotected voidAnnotationParser.parseJar(Set<? extends AnnotationParser.Handler> handlers, Resource jarResource) Parse a resource that is a jar file.protected voidAnnotationParser.parseJarEntry(Set<? extends AnnotationParser.Handler> handlers, Resource jar, MultiReleaseJarFile.VersionedJarEntry entry) Parse a single entry in a jar fileprotected voidAnnotationParser.scanClass(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, InputStream is) Use ASM on a classConstructors in org.eclipse.jetty.annotations with parameters of type ResourceModifierConstructorDescriptionClassInfo(Resource resource, String className, int version, int access, String signature, String superName, String[] interfaces) MyClassVisitor(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, int asmVersion) ParserTask(AnnotationParser parser, Set<? extends AnnotationParser.Handler> handlers, Resource resource) WebFilterAnnotation(WebAppContext context, String className, Resource resource) WebListenerAnnotation(WebAppContext context, String className, Resource resource) WebServletAnnotation(WebAppContext context, String className, Resource resource) -
Uses of Resource in org.eclipse.jetty.deploy
Methods in org.eclipse.jetty.deploy with parameters of type ResourceModifier and TypeMethodDescriptionvoidDeploymentManager.scope(XmlConfiguration xmlc, Resource webapp) -
Uses of Resource in org.eclipse.jetty.deploy.providers
Fields in org.eclipse.jetty.deploy.providers with type parameters of type ResourceMethods in org.eclipse.jetty.deploy.providers that return ResourceMethods in org.eclipse.jetty.deploy.providers that return types with arguments of type ResourceMethods in org.eclipse.jetty.deploy.providers with parameters of type ResourceModifier and TypeMethodDescriptionvoidScanningAppProvider.setMonitoredDirResource(Resource resource) Method parameters in org.eclipse.jetty.deploy.providers with type arguments of type ResourceModifier and TypeMethodDescriptionvoidScanningAppProvider.setMonitoredResources(List<Resource> resources) -
Uses of Resource in org.eclipse.jetty.http
Fields in org.eclipse.jetty.http declared as ResourceMethods in org.eclipse.jetty.http that return ResourceModifier and TypeMethodDescriptionHttpContent.getResource()PrecompressedHttpContent.getResource()ResourceHttpContent.getResource()Constructors in org.eclipse.jetty.http with parameters of type ResourceModifierConstructorDescriptionResourceHttpContent(Resource resource, String contentType) ResourceHttpContent(Resource resource, String contentType, int maxBuffer) ResourceHttpContent(Resource resource, String contentType, int maxBuffer, Map<CompressedContentFormat, HttpContent> precompressedContents) -
Uses of Resource in org.eclipse.jetty.quickstart
Methods in org.eclipse.jetty.quickstart that return ResourceModifier and TypeMethodDescriptionQuickStartConfiguration.getQuickStartWebXml(WebAppContext context) Get the quickstart-web.xml file as a Resource.Methods in org.eclipse.jetty.quickstart with parameters of type ResourceModifier and TypeMethodDescriptionstatic 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 -
Uses of Resource in org.eclipse.jetty.security
Methods in org.eclipse.jetty.security that return ResourceModifier and TypeMethodDescriptionHashLoginService.getConfigResource()Deprecated.PropertyUserStore.getConfigResource() -
Uses of Resource in org.eclipse.jetty.server
Fields in org.eclipse.jetty.server declared as ResourceModifier and TypeFieldDescriptionprivate final ResourceCachedContentFactory.CachedHttpContent._resourceMethods in org.eclipse.jetty.server that return ResourceMethods in org.eclipse.jetty.server with parameters of type ResourceModifier and TypeMethodDescriptionbooleanbooleanDeprecated.protected ByteBufferCachedContentFactory.getDirectBuffer(Resource resource) protected ByteBufferCachedContentFactory.getIndirectBuffer(Resource resource) protected ByteBufferCachedContentFactory.getMappedBuffer(Resource resource) protected Pathprotected booleanCachedContentFactory.isCacheable(Resource resource) private HttpContentprivate HttpContentprotected voidResourceService.sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource, String pathInContext) Constructors in org.eclipse.jetty.server with parameters of type ResourceModifierConstructorDescription(package private)CachedHttpContent(String pathInContext, Resource resource, Map<CompressedContentFormat, CachedContentFactory.CachedHttpContent> precompressedResources) -
Uses of Resource in org.eclipse.jetty.server.handler
Fields in org.eclipse.jetty.server.handler declared as ResourceModifier and TypeFieldDescriptionprivate ResourceContextHandler._baseResource(package private) ResourceResourceHandler._baseResource(package private) ResourceResourceHandler._defaultStylesheet(package private) ResourceResourceHandler._stylesheetMethods in org.eclipse.jetty.server.handler that return ResourceModifier and TypeMethodDescriptionContextHandler.getBaseResource()ResourceHandler.getBaseResource()static ResourceResourceHandler.getDefaultStylesheet()ContextHandler.getResource(String path) ResourceHandler.getResource(String path) ResourceHandler.getStylesheet()ContextHandler.newResource(String urlOrPath) Convert a URL or path to a Resource.ContextHandler.newResource(URI uri) Convert URL to Resource wrapper forResource.newResource(URL)enables extensions to provide alternate resource implementations.ContextHandler.newResource(URL url) Convert URL to Resource wrapper forResource.newResource(URL)enables extensions to provide alternate resource implementations.Methods in org.eclipse.jetty.server.handler with parameters of type ResourceModifier and TypeMethodDescriptionbooleanDeprecated.booleanCheck an aliasbooleanDeprecated.booleanDeprecated.booleanContextHandler.checkAlias(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
Fields in org.eclipse.jetty.servlet declared as ResourceModifier and TypeFieldDescriptionprivate ResourceDefaultServlet._resourceBaseprivate ResourceDefaultServlet._stylesheetMethods in org.eclipse.jetty.servlet that return ResourceModifier and TypeMethodDescriptionDefaultServlet.getResource(String pathInContext) get Resource to serve. -
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 TypeClassDescription(package private) classBad Resource.classEmptyResource Represents a resource that does does not refer to any file, url, jar etc.classDeprecated.classclassclassJava NIO Path equivalent of FileResource.classA collection of resources (dirs).classURL resource class.Fields in org.eclipse.jetty.util.resource declared as ResourceModifier and TypeFieldDescriptionprivate Resource[]ResourceCollection._resourcesstatic final ResourceEmptyResource.INSTANCEFields in org.eclipse.jetty.util.resource with type parameters of type ResourceModifier and TypeFieldDescriptionprivate static Comparator<? super Resource> ResourceCollators.BY_LAST_MODIFIED_ASCENDINGprivate static Comparator<? super Resource> ResourceCollators.BY_LAST_MODIFIED_DESCENDINGprivate static Comparator<? super Resource> ResourceCollators.BY_NAME_ASCENDINGprivate static Comparator<? super Resource> ResourceCollators.BY_NAME_DESCENDINGprivate static Comparator<? super Resource> ResourceCollators.BY_SIZE_ASCENDINGprivate static Comparator<? super Resource> ResourceCollators.BY_SIZE_DESCENDINGMethods in org.eclipse.jetty.util.resource that return ResourceModifier and TypeMethodDescriptionDeprecated.abstract ResourceReturns the resource contained inside the current resource with the given name.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.Resource.getResource(String path) Get a resource from within this resource.ResourceFactory.getResource(String path) Get a resource for a path.Resource[]ResourceCollection.getResources()Retrieves the resource collection's resources.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.(package private) static ResourceResource.newResource(URL url, boolean useCaches) 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.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) Resource.getAllResources()Methods in org.eclipse.jetty.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionprivate voidResourceCollection.assertResourceValid(Resource resource) 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) booleanDeprecated.booleanbooleanReturn true if the passed Resource represents the same resource as the Resource.static ResourceJarResource.newJarResource(Resource resource) booleanbooleanbooleanDeprecated.Rename the given resourcebooleanabstract booleanRename the given resourcebooleanbooleanRename the given resourcevoidResourceCollection.setResources(Resource[] resources) 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. -
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
Fields in org.eclipse.jetty.util.ssl declared as ResourceModifier and TypeFieldDescriptionprivate ResourceSslContextFactory._keyStoreResourceprivate ResourceSslContextFactory._trustStoreResourceMethods 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. -
Uses of Resource in org.eclipse.jetty.webapp
Fields in org.eclipse.jetty.webapp declared as ResourceModifier and TypeFieldDescriptionprotected ResourceWebInfConfiguration._preUnpackBaseResourceprotected ResourceDiscoveredAnnotation._resourceprotected ResourceDescriptor._xmlstatic final ResourceMetaData.NON_FRAG_RESOURCEFields in org.eclipse.jetty.webapp with type parameters of type ResourceModifier and TypeFieldDescriptionprotected final Map<Resource, List<DiscoveredAnnotation>> MetaData._annotationsMetaData._orderedContainerResourcesMetaData._orderedWebInfResourcesprotected final Map<Resource, FragmentDescriptor> MetaData._webFragmentResourceMapMetaData._webInfClassesMetaData._webInfJarsMethods in org.eclipse.jetty.webapp that return ResourceModifier and TypeMethodDescriptionprotected ResourceWebInfConfiguration.findWebInfClassesDir(WebAppContext context) GetWEB-INF/classesdirprotected ResourceWebXmlConfiguration.findWebXml(WebAppContext context) MetaData.getJarForFragment(String name) Descriptor.getResource()DiscoveredAnnotation.getResource()WebAppContext.getResource(String uriInContext) WebAppContext.getWebInf()WebAppClassLoader.Context.newResource(String urlOrPath) Convert a URL or path to a Resource.Methods in org.eclipse.jetty.webapp that return types with arguments of type ResourceModifier and TypeMethodDescriptionWebInfConfiguration.findClassDirs(WebAppContext context) WebInfConfiguration.findExtraClasspathDirs(WebAppContext context) Get class dirs from WebAppContext.getExtraClasspath as resourcesWebInfConfiguration.findExtraClasspathJars(WebAppContext context) Get jars from WebAppContext.getExtraClasspath as resourcesWebInfConfiguration.findJars(WebAppContext context) Look for jars that should be treated as if they are in WEB-INF/libWebInfConfiguration.findWebInfLibJars(WebAppContext context) Look for jars inWEB-INF/libMetaData.getContainerResources()MetaData.getOrderedWebInfJars()MetaData.getWebInfClassesDirs()MetaData.getWebInfJars()Methods in org.eclipse.jetty.webapp with parameters of type ResourceModifier and TypeMethodDescriptionvoidWebAppClassLoader.addClassPath(Resource resource) voidMetaData.addContainerResource(Resource jar) voidMetaData.addFragment(Resource jarResource, Resource xmlResource) Add a web-fragment.xmlvoidAdd 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) MetaData.getFragment(Resource jar) protected static StringWebInfConfiguration.getResourceBaseName(Resource resource) private booleanWebInfConfiguration.isFileSupported(Resource resource) voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource target, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarvoidMetaData.setDefaults(Resource webDefaults) private voidJettyWebXmlConfiguration.setupXmlConfiguration(WebAppContext context, XmlConfiguration jettyConfig, Resource webInf) Configures some well-known properties before the XmlConfiguration reads the configuration.voidWebAppContext.setWarResource(Resource war) Set the war of the webapp as aResource.voidMethod parameters in org.eclipse.jetty.webapp with type arguments of type ResourceModifier and TypeMethodDescriptionvoidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource target, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource target, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarvoidMetaInfConfiguration.scanJars(WebAppContext context, Collection<Resource> jars, boolean useCaches) For backwards compatibility.voidMetaInfConfiguration.scanJars(WebAppContext context, Collection<Resource> jars, boolean useCaches, List<String> scanTypes) Look into the jars to discover info in META-INF.voidMetaData.setWebInfClassesDirs(List<Resource> dirs) Constructors in org.eclipse.jetty.webapp with parameters of type ResourceModifierConstructorDescriptionDescriptor(Resource xml) DiscoveredAnnotation(WebAppContext context, String className, Resource resource) WebAppContext(HandlerContainer parent, Resource webApp, String contextPath) WebAppContext(Resource webApp, String contextPath) WebDescriptor(Resource xml) -
Uses of Resource in org.eclipse.jetty.xml
Fields in org.eclipse.jetty.xml declared as ResourceMethods in org.eclipse.jetty.xml with parameters of type ResourceModifier and TypeMethodDescriptiondefault voidConfigurationProcessor.init(Resource resource, XmlParser.Node root, XmlConfiguration configuration) Initialize a ConfigurationProcessor from provided Resource and XMLvoidXmlConfiguration.JettyXmlConfiguration.init(Resource resource, XmlParser.Node root, XmlConfiguration configuration) voidXmlConfiguration.setJettyStandardIdsAndProperties(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 ResourceModifierConstructorDescriptionXmlConfiguration(Resource resource) Reads and parses the XML configuration file.
PathResource