Uses of Class
org.eclipse.jetty.util.resource.Resource
Packages that use Resource
Package
Description
Jetty Deploy : Webapp Deployment Providers
Jetty Annotations : Support for Servlet Annotations
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Annotations : Support for Servlet Annotations
Jetty Server : Core Handler API
Jetty Plus : Limited Additional JEE Webapp Support
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Annotations : Support for Servlet Annotations
Jetty Server : Core Handler API
Jetty Plus : Limited Additional JEE Webapp Support
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
Jetty Security : Modular Support for Security in Jetty
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty Util : Common Utility Classes
Jetty Util : Resource Utilities
Jetty Util : Common Security Utilities
Jetty Util : Common SSL Utility Classes
Jetty Xml : IoC Mechanism for Jetty Configuration
-
Uses of Resource in org.eclipse.jetty.deploy.providers
Methods 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 TypeMethodDescriptionvoidContextProvider.loadProperties(Resource resource) voidScanningAppProvider.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.ee10.annotations
Fields in org.eclipse.jetty.ee10.annotations declared as ResourceModifier and TypeFieldDescriptionprotected final ResourceAnnotationConfiguration.ParserTask._resourceMethods in org.eclipse.jetty.ee10.annotations that return ResourceModifier and TypeMethodDescriptionAnnotationParser.ClassInfo.getContainingResource()protected ResourceAnnotationConfiguration.getJarFor(WebAppContext context, jakarta.servlet.ServletContainerInitializer service) AnnotationConfiguration.ParserTask.getResource()Methods in org.eclipse.jetty.ee10.annotations with parameters of type ResourceModifier and TypeMethodDescriptionbooleanAnnotationConfiguration.isFromExcludedJar(WebAppContext context, jakarta.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.parseClass(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, Path classFile) Use ASM on a classprotected voidAnnotationParser.parseDir(Set<? extends AnnotationParser.Handler> handlers, Resource dirResource) Parse all classes in a directoryprotected voidAnnotationParser.parseJar(Set<? extends AnnotationParser.Handler> handlers, Resource jarResource) Parse a resource that is a jar file.Constructors in org.eclipse.jetty.ee10.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.ee10.quickstart
Methods in org.eclipse.jetty.ee10.quickstart with parameters of type ResourceModifier and TypeMethodDescriptionstatic voidPreconfigureQuickStartWar.preconfigure(Resource war, Resource dir, Resource xml) voidQuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context, Resource dir) -
Uses of Resource in org.eclipse.jetty.ee10.servlet
Fields in org.eclipse.jetty.ee10.servlet declared as ResourceMethods in org.eclipse.jetty.ee10.servlet that return ResourceModifier and TypeMethodDescriptionServletContextHandler.getResource(String pathInContext) Attempt to get a Resource from the Context.Source.getResource()Get the resource.ServletTester.getResourceBase()ServletContextHandler.newResource(String urlOrPath) Convert a URL or path to a Resource.ServletContextHandler.newResource(URI uri) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.ServletContextHandler.newResource(URL url) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.Methods in org.eclipse.jetty.ee10.servlet with parameters of type ResourceConstructors in org.eclipse.jetty.ee10.servlet with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.ee10.webapp
Fields in org.eclipse.jetty.ee10.webapp declared as ResourceModifier and TypeFieldDescriptionprotected ResourceDiscoveredAnnotation._resourceprotected ResourceDescriptor._xmlFields in org.eclipse.jetty.ee10.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.ee10.webapp that return ResourceModifier and TypeMethodDescriptionprotected ResourceMetaInfConfiguration.findWebInfClassesDir(WebAppContext context) GetWEB-INF/classesdirprotected ResourceWebXmlConfiguration.findWebXml(WebAppContext context) MetaData.getJarForFragmentName(String name) Descriptor.getResource()DiscoveredAnnotation.getResource()WebAppContext.getResource(String pathInContext) protected ResourceWebAppContext.getResourceForTempDirName()If the webapp has no baseresource yet, use the war to make the temp directory name.WebAppContext.getWebInf()WebAppClassLoader.Context.newResource(String urlOrPath) Convert a URL or path to a Resource.Methods in org.eclipse.jetty.ee10.webapp that return types with arguments of type ResourceModifier and TypeMethodDescriptionMetaInfConfiguration.findClassDirs(WebAppContext context) MetaInfConfiguration.findExtraClasspathDirs(WebAppContext context) Get class dirs from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findExtraClasspathJars(WebAppContext context) Get jars from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findJars(WebAppContext context) Look for jars that should be treated as if they are in WEB-INF/libMetaInfConfiguration.findWebInfLibJars(WebAppContext context) Look for jars inWEB-INF/libMetaData.getContainerResources()WebAppClassLoader.Context.getExtraClasspath()WebAppContext.getExtraClasspath()MetaData.getWebInfClassesResources()MetaData.getWebInfResources(boolean withOrdering) Methods in org.eclipse.jetty.ee10.webapp with parameters of type ResourceModifier and TypeMethodDescriptionvoidWebAppClassLoader.addClassPath(Resource resource) voidMetaData.addContainerResource(Resource jar) voidMetaData.addFragmentDescriptor(Resource jarResource, FragmentDescriptor descriptor) Add a web-fragment.xml, and the jar it is contained in.voidAdd elements to the class path for the context from the jar and zip files found in the specified resource.voidMetaData.addWebInfResource(Resource newResource) MetaData.getFragmentDescriptor(Resource descriptorResource) MetaData.getFragmentDescriptorForJar(Resource jar) Get the web-fragment.xml related to a jarprotected static StringWebInfConfiguration.getResourceBaseName(Resource resource) Deprecated, for removal: This API element is subject to removal in a future version.this method is no longer neededvoidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given directoryvoidWebAppContext.setWarResource(Resource war) Set the war of the webapp as aResource.Method parameters in org.eclipse.jetty.ee10.webapp with type arguments of type ResourceModifier and TypeMethodDescriptionvoidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given directory.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given directoryvoidMetaInfConfiguration.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.voidWebAppContext.setExtraClasspath(List<Resource> extraClasspath) voidMetaData.setWebInfClassesResources(List<Resource> dirs) Constructors in org.eclipse.jetty.ee10.webapp with parameters of type ResourceModifierConstructorDescriptionDescriptor(Resource resource) DiscoveredAnnotation(WebAppContext context, String className, Resource resource) WebAppContext(Resource webApp, String contextPath) WebDescriptor(Resource xml) -
Uses of Resource in org.eclipse.jetty.ee8.annotations
Fields in org.eclipse.jetty.ee8.annotations declared as ResourceModifier and TypeFieldDescriptionprotected final ResourceAnnotationConfiguration.ParserTask._resourceMethods in org.eclipse.jetty.ee8.annotations that return ResourceModifier and TypeMethodDescriptionAnnotationParser.ClassInfo.getContainingResource()AnnotationConfiguration.getJarFor(javax.servlet.ServletContainerInitializer service) AnnotationConfiguration.ParserTask.getResource()Methods in org.eclipse.jetty.ee8.annotations with parameters of type ResourceModifier and TypeMethodDescriptionbooleanAnnotationConfiguration.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.parseClass(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, Path classFile) Use ASM on a classprotected voidAnnotationParser.parseDir(Set<? extends AnnotationParser.Handler> handlers, Resource dirResource) Parse all classes in a directoryprotected voidAnnotationParser.parseJar(Set<? extends AnnotationParser.Handler> handlers, Resource jarResource) Parse a resource that is a jar file.Constructors in org.eclipse.jetty.ee8.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.ee8.nested
Methods in org.eclipse.jetty.ee8.nested that return ResourceModifier and TypeMethodDescriptionContextHandler.getBaseResource()ResourceHandler.getBaseResource()ContextHandler.getNestedResourceForTempDirName()ContextHandler.getResource(String pathInContext) Attempt to get a Resource from the Context.ContextHandler.CoreContextHandler.getResourceForTempDirName()ResourceHandler.getStyleSheet()ContextHandler.newResource(String uriOrPath) Convert a URL or path to a Resource.ContextHandler.newResource(URI uri) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.ContextHandler.newResource(URL url) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.Methods in org.eclipse.jetty.ee8.nested with parameters of type ResourceModifier and TypeMethodDescriptionbooleanContextHandler.checkAlias(String path, Resource resource) voidHttpOutput.sendContent(Resource resource) Blocking send of resource.voidHttpOutput.sendContent(Resource resource, Callback callback) Asynchronous send of whole resource.protected voidResourceService.sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource, String pathInContext) voidContextHandler.setBaseResource(Resource base) Set the base resource for this context.voidResourceHandler.setBaseResource(Resource base) -
Uses of Resource in org.eclipse.jetty.ee8.plus.webapp
Methods in org.eclipse.jetty.ee8.plus.webapp with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.ee8.quickstart
Methods in org.eclipse.jetty.ee8.quickstart with parameters of type ResourceModifier and TypeMethodDescriptionstatic voidPreconfigureQuickStartWar.preconfigure(Resource war, Resource dir, Resource xml) voidQuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context, Resource dir) -
Uses of Resource in org.eclipse.jetty.ee8.servlet
Fields in org.eclipse.jetty.ee8.servlet declared as ResourceMethods in org.eclipse.jetty.ee8.servlet that return ResourceModifier and TypeMethodDescriptionServletTester.getBaseResource()Source.getResource()Get the resource.protected Resourceget Resource to serve.Methods in org.eclipse.jetty.ee8.servlet with parameters of type ResourceConstructors in org.eclipse.jetty.ee8.servlet with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.ee8.webapp
Fields in org.eclipse.jetty.ee8.webapp declared as ResourceModifier and TypeFieldDescriptionprotected ResourceWebInfConfiguration._preUnpackBaseResourceprotected ResourceDiscoveredAnnotation._resourceprotected ResourceDescriptor._xmlFields in org.eclipse.jetty.ee8.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.ee8.webapp that return ResourceModifier and TypeMethodDescriptionprotected ResourceMetaInfConfiguration.findWebInfClassesDir(WebAppContext context) GetWEB-INF/classesdirprotected ResourceWebXmlConfiguration.findWebXml(WebAppContext context) MetaData.getJarForFragmentName(String name) WebAppContext.getNestedResourceForTempDirName()Descriptor.getResource()DiscoveredAnnotation.getResource()WebAppContext.getResource(String pathInContext) WebAppContext.getWebInf()WebAppClassLoader.Context.newResource(String urlOrPath) Convert a URL or path to a Resource.Methods in org.eclipse.jetty.ee8.webapp that return types with arguments of type ResourceModifier and TypeMethodDescriptionMetaInfConfiguration.findClassDirs(WebAppContext context) MetaInfConfiguration.findExtraClasspathDirs(WebAppContext context) Get class dirs from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findExtraClasspathJars(WebAppContext context) Get jars from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findJars(WebAppContext context) Look for jars that should be treated as if they are in WEB-INF/libMetaInfConfiguration.findWebInfLibJars(WebAppContext context) Look for jars inWEB-INF/libMetaData.getContainerResources()WebAppClassLoader.Context.getExtraClasspath()WebAppContext.getExtraClasspath()MetaData.getWebInfClassesResources()MetaData.getWebInfResources(boolean withOrdering) Methods in org.eclipse.jetty.ee8.webapp with parameters of type ResourceModifier and TypeMethodDescriptionvoidWebAppClassLoader.addClassPath(Resource resource) voidMetaData.addContainerResource(Resource jar) voidMetaData.addFragmentDescriptor(Resource jarResource, FragmentDescriptor descriptor) Add a web-fragment.xml, and the jar it is contained in.voidAdd elements to the class path for the context from the jar and zip files found in the specified resource.voidMetaData.addWebInfResource(Resource newResource) MetaData.getFragmentDescriptor(Resource descriptorResource) MetaData.getFragmentDescriptorForJar(Resource jar) Get the web-fragment.xml related to a jarprotected static StringWebInfConfiguration.getResourceBaseName(Resource resource) Deprecated, for removal: This API element is subject to removal in a future version.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarvoidWebAppContext.setWarResource(Resource war) Set the war of the webapp as aResource.Method parameters in org.eclipse.jetty.ee8.webapp with type arguments of type ResourceModifier and TypeMethodDescriptionvoidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, 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.voidWebAppContext.setExtraClasspath(List<Resource> extraClasspath) voidMetaData.setWebInfClassesResources(List<Resource> dirs) Constructors in org.eclipse.jetty.ee8.webapp with parameters of type ResourceModifierConstructorDescriptionDescriptor(Resource resource) DiscoveredAnnotation(WebAppContext context, String className, Resource resource) WebAppContext(Handler.Container parent, Resource webApp, String contextPath) WebAppContext(Resource webApp, String contextPath) WebDescriptor(Resource xml) -
Uses of Resource in org.eclipse.jetty.ee9.annotations
Fields in org.eclipse.jetty.ee9.annotations declared as ResourceModifier and TypeFieldDescriptionprotected final ResourceAnnotationConfiguration.ParserTask._resourceMethods in org.eclipse.jetty.ee9.annotations that return ResourceModifier and TypeMethodDescriptionAnnotationParser.ClassInfo.getContainingResource()AnnotationConfiguration.getJarFor(jakarta.servlet.ServletContainerInitializer service) AnnotationConfiguration.ParserTask.getResource()Methods in org.eclipse.jetty.ee9.annotations with parameters of type ResourceModifier and TypeMethodDescriptionbooleanAnnotationConfiguration.isFromExcludedJar(WebAppContext context, jakarta.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.parseClass(Set<? extends AnnotationParser.Handler> handlers, Resource containingResource, Path classFile) Use ASM on a classprotected voidAnnotationParser.parseDir(Set<? extends AnnotationParser.Handler> handlers, Resource dirResource) Parse all classes in a directoryprotected voidAnnotationParser.parseJar(Set<? extends AnnotationParser.Handler> handlers, Resource jarResource) Parse a resource that is a jar file.Constructors in org.eclipse.jetty.ee9.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.ee9.nested
Methods in org.eclipse.jetty.ee9.nested that return ResourceModifier and TypeMethodDescriptionContextHandler.getBaseResource()ResourceHandler.getBaseResource()ContextHandler.getNestedResourceForTempDirName()ContextHandler.getResource(String pathInContext) Attempt to get a Resource from the Context.ContextHandler.CoreContextHandler.getResourceForTempDirName()ResourceHandler.getStyleSheet()ContextHandler.newResource(String uriOrPath) Convert a URL or path to a Resource.ContextHandler.newResource(URI uri) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.ContextHandler.newResource(URL url) Convert URL to Resource wrapper forResourceFactory.newResource(URL)enables extensions to provide alternate resource implementations.Methods in org.eclipse.jetty.ee9.nested with parameters of type ResourceModifier and TypeMethodDescriptionbooleanContextHandler.checkAlias(String path, Resource resource) voidHttpOutput.sendContent(Resource resource) Blocking send of resource.voidHttpOutput.sendContent(Resource resource, Callback callback) Asynchronous send of whole resource.protected voidResourceService.sendDirectory(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Resource resource, String pathInContext) voidContextHandler.setBaseResource(Resource base) Set the base resource for this context.voidResourceHandler.setBaseResource(Resource base) -
Uses of Resource in org.eclipse.jetty.ee9.plus.webapp
Methods in org.eclipse.jetty.ee9.plus.webapp with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.ee9.quickstart
Methods in org.eclipse.jetty.ee9.quickstart with parameters of type ResourceModifier and TypeMethodDescriptionstatic voidPreconfigureQuickStartWar.preconfigure(Resource war, Resource dir, Resource xml) voidQuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context, Resource dir) -
Uses of Resource in org.eclipse.jetty.ee9.servlet
Fields in org.eclipse.jetty.ee9.servlet declared as ResourceMethods in org.eclipse.jetty.ee9.servlet that return ResourceModifier and TypeMethodDescriptionServletTester.getBaseResource()Source.getResource()Get the resource.protected Resourceget Resource to serve.Methods in org.eclipse.jetty.ee9.servlet with parameters of type ResourceConstructors in org.eclipse.jetty.ee9.servlet with parameters of type Resource -
Uses of Resource in org.eclipse.jetty.ee9.webapp
Fields in org.eclipse.jetty.ee9.webapp declared as ResourceModifier and TypeFieldDescriptionprotected ResourceWebInfConfiguration._preUnpackBaseResourceprotected ResourceDiscoveredAnnotation._resourceprotected ResourceDescriptor._xmlFields in org.eclipse.jetty.ee9.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.ee9.webapp that return ResourceModifier and TypeMethodDescriptionprotected ResourceMetaInfConfiguration.findWebInfClassesDir(WebAppContext context) GetWEB-INF/classesdirprotected ResourceWebXmlConfiguration.findWebXml(WebAppContext context) MetaData.getJarForFragmentName(String name) WebAppContext.getNestedResourceForTempDirName()Descriptor.getResource()DiscoveredAnnotation.getResource()WebAppContext.getResource(String pathInContext) WebAppContext.getWebInf()WebAppClassLoader.Context.newResource(String urlOrPath) Convert a URL or path to a Resource.Methods in org.eclipse.jetty.ee9.webapp that return types with arguments of type ResourceModifier and TypeMethodDescriptionMetaInfConfiguration.findClassDirs(WebAppContext context) MetaInfConfiguration.findExtraClasspathDirs(WebAppContext context) Get class dirs from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findExtraClasspathJars(WebAppContext context) Get jars from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findJars(WebAppContext context) Look for jars that should be treated as if they are in WEB-INF/libMetaInfConfiguration.findWebInfLibJars(WebAppContext context) Look for jars inWEB-INF/libMetaData.getContainerResources()WebAppClassLoader.Context.getExtraClasspath()WebAppContext.getExtraClasspath()MetaData.getWebInfClassesResources()MetaData.getWebInfResources(boolean withOrdering) Methods in org.eclipse.jetty.ee9.webapp with parameters of type ResourceModifier and TypeMethodDescriptionvoidWebAppClassLoader.addClassPath(Resource resource) voidMetaData.addContainerResource(Resource jar) voidMetaData.addFragmentDescriptor(Resource jarResource, FragmentDescriptor descriptor) Add a web-fragment.xml, and the jar it is contained in.voidAdd elements to the class path for the context from the jar and zip files found in the specified resource.voidMetaData.addWebInfResource(Resource newResource) MetaData.getFragmentDescriptor(Resource descriptorResource) MetaData.getFragmentDescriptorForJar(Resource jar) Get the web-fragment.xml related to a jarprotected static StringWebInfConfiguration.getResourceBaseName(Resource resource) Deprecated, for removal: This API element is subject to removal in a future version.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarvoidWebAppContext.setWarResource(Resource war) Set the war of the webapp as aResource.Method parameters in org.eclipse.jetty.ee9.webapp with type arguments of type ResourceModifier and TypeMethodDescriptionvoidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, 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.voidWebAppContext.setExtraClasspath(List<Resource> extraClasspath) voidMetaData.setWebInfClassesResources(List<Resource> dirs) Constructors in org.eclipse.jetty.ee9.webapp with parameters of type ResourceModifierConstructorDescriptionDescriptor(Resource resource) DiscoveredAnnotation(WebAppContext context, String className, Resource resource) WebAppContext(Handler.Container parent, Resource webApp, String contextPath) WebAppContext(Resource webApp, String contextPath) WebDescriptor(Resource xml) -
Uses of Resource in org.eclipse.jetty.http
Methods in org.eclipse.jetty.http with parameters of type ResourceModifier and TypeMethodDescriptionstatic StringEtagUtils.computeWeakEtag(Resource resource) Compute the weak etag for the providedResourcereference.static StringEtagUtils.computeWeakEtag(Resource resource, String etagSuffix) Compute the weak etag for the providedResourcereference.static HttpFieldEtagUtils.createWeakEtagField(Resource resource) Create a newHttpFieldHttpHeader.ETAGfield suitable to represent the provided Resource.static HttpFieldEtagUtils.createWeakEtagField(Resource resource, String etagSuffix) Create a newHttpFieldHttpHeader.ETAGfield suitable to represent the provided Resource.Constructors in org.eclipse.jetty.http with parameters of type ResourceModifierConstructorDescriptionPart(String contentType, Resource resource, ByteRange byteRange, long contentLength, ByteBufferPool bufferPool) Deprecated, for removal: This API element is subject to removal in a future version.Part(String contentType, Resource resource, ByteRange byteRange, long contentLength, ByteBufferPool.Sized bufferPool) Part(HttpFields headers, Resource resource, ByteRange byteRange) Part(HttpFields headers, Resource resource, ByteRange byteRange, ByteBufferPool bufferPool) Deprecated, for removal: This API element is subject to removal in a future version.Part(HttpFields headers, Resource resource, ByteRange byteRange, ByteBufferPool.Sized bufferPool) -
Uses of Resource in org.eclipse.jetty.http.content
Methods in org.eclipse.jetty.http.content that return ResourceModifier and TypeMethodDescriptionCachingHttpContentFactory.NotFoundHttpContent.getResource()HttpContent.getResource()HttpContent.Wrapper.getResource()PreCompressedHttpContent.getResource()ResourceHttpContent.getResource()VirtualHttpContentFactory.getResource()protected ResourceConstructors in org.eclipse.jetty.http.content with parameters of type ResourceModifierConstructorDescriptionResourceHttpContent(Resource resource, String contentType) ResourceHttpContentFactory(Resource baseResource, MimeTypes mimeTypes) VirtualHttpContentFactory(HttpContent.Factory factory, Resource resource, String contentType) -
Uses of Resource in org.eclipse.jetty.io
Methods in org.eclipse.jetty.io with parameters of type ResourceModifier and TypeMethodDescriptionstatic Content.SourceIOResources.asContentSource(Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct) Gets aContent.Sourcewith the contents of a resource.static Content.SourceIOResources.asContentSource(Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length) Gets aContent.Sourcewith a range of the contents of a resource.static InputStreamIOResources.asInputStream(Resource resource) Gets anInputStreamwith the contents of a resource.static voidIOResources.copy(Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length, Callback callback) Performs an asynchronous copy of a subset of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static voidIOResources.copy(Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, Callback callback) Performs an asynchronous copy of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static RetainableByteBufferIOResources.toRetainableByteBuffer(Resource resource, ByteBufferPool bufferPool, boolean direct) Reads the contents of a Resource into a RetainableByteBuffer. -
Uses of Resource in org.eclipse.jetty.osgi
Fields in org.eclipse.jetty.osgi declared as ResourceMethods in org.eclipse.jetty.osgi that return Resource -
Uses of Resource in org.eclipse.jetty.security
Fields in org.eclipse.jetty.security declared as ResourceMethods in org.eclipse.jetty.security that return ResourceModifier and TypeMethodDescriptionHashLoginService.getConfig()PropertyUserStore.getConfig()Get the config (as a string)PropertyUserStore.getConfigResource()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.eclipse.jetty.security with parameters of type ResourceModifier and TypeMethodDescriptionvoidLoad users from properties file.voidSet the Config Path from a String reference to a fileConstructors in org.eclipse.jetty.security with parameters of type ResourceModifierConstructorDescriptionHashLoginService(String name, Resource config) Creates a hash login service with the specified name and configuration. -
Uses of Resource in org.eclipse.jetty.server
Fields in org.eclipse.jetty.server declared as ResourceMethods in org.eclipse.jetty.server that return ResourceModifier and TypeMethodDescriptionAllowedResourceAliasChecker.getBaseResource()Context.getBaseResource()Server.getDefaultFavicon()Get the default FaviconServer.getDefaultStyleSheet()Get the Default CSSMethods in org.eclipse.jetty.server with parameters of type ResourceModifier and TypeMethodDescriptionprotected booleanbooleanAliasCheck.checkAlias(String pathInContext, Resource resource) Check if an alias is allowed to be served.booleanAllowedResourceAliasChecker.checkAlias(String pathInContext, Resource resource) booleanTrailingSlashAliasChecker.checkAlias(String pathInContext, Resource resource) static StringResourceListing.getAsXHTML(Resource resource, String base, boolean parent, String query) Convert the Resource directory into an XHTML directory listing.protected PathDeprecated.Constructors in org.eclipse.jetty.server with parameters of type ResourceModifierConstructorDescriptionAllowedResourceAliasChecker(ContextHandler contextHandler, Resource baseResource) SymlinkAllowedResourceAliasChecker(ContextHandler contextHandler, Resource baseResource) Constructor parameters in org.eclipse.jetty.server with type arguments of type ResourceModifierConstructorDescriptionAllowedResourceAliasChecker(ContextHandler contextHandler, Supplier<Resource> resourceBaseSupplier) SymlinkAllowedResourceAliasChecker(ContextHandler contextHandler, Supplier<Resource> resourceBaseSupplier) -
Uses of Resource in org.eclipse.jetty.server.handler
Methods in org.eclipse.jetty.server.handler that return ResourceModifier and TypeMethodDescriptionContextHandler.getBaseResource()ContextHandler.ScopedContext.getBaseResource()ResourceHandler.getBaseResource()protected ResourceContextHandler.getResourceForTempDirName()ResourceHandler.getStyleSheet()Methods in org.eclipse.jetty.server.handler with parameters of type ResourceModifier and TypeMethodDescriptionbooleanContextHandler.checkAlias(String pathInContext, Resource resource) protected static StringContextHandler.getBaseName(Resource resource) voidContextHandler.setBaseResource(Resource resourceBase) Set the base resource to serve content from for this context, which must exist and be readable when the context is started.voidResourceHandler.setBaseResource(Resource base) voidResourceHandler.setStyleSheet(Resource styleSheet) -
Uses of Resource in org.eclipse.jetty.util
Methods in org.eclipse.jetty.util with parameters of type ResourceModifier and TypeMethodDescriptionstatic ByteBufferstatic ByteBufferBufferUtil.toMappedBuffer(Resource resource) static ByteBufferBufferUtil.toMappedBuffer(Resource resource, long pos, long len) -
Uses of Resource in org.eclipse.jetty.util.resource
Subclasses of Resource in org.eclipse.jetty.util.resourceModifier and TypeClassDescriptionclassclassAn in memory Resource created from aURLclassJava NIO Path Resource with file system pooling.classJava NIO Path Resource.Classes in org.eclipse.jetty.util.resource that implement interfaces with type arguments of type ResourceModifier and TypeClassDescriptionclassA Resource is a wrapper over aPathobject pointing to a file or directory that can be represented by aFileSystem.classSpecializedUriPatternPredicateto allow filteringResourceentries by their URI.Methods in org.eclipse.jetty.util.resource that return ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of other directoryResourcesstatic ResourceMake a directory Resource containing a collection of directoryResourcesdefault ResourceResourceFactory.newClassLoaderResource(String resource) Construct a Resource from a search of ClassLoaders.default ResourceResourceFactory.newClassLoaderResource(String resource, boolean searchSystemClassLoader) Construct a Resource from a search of ClassLoaders.default ResourceResourceFactory.newClassPathResource(String resource) Deprecated, for removal: This API element is subject to removal in a future version.useResourceFactory.newClassLoaderResource(String, boolean)instead, will be removed in Jetty 12.1.0default ResourceResourceFactory.newJarFileResource(URI uri) Construct aResourcefrom afile:based URI that is mountable (eg: a jar file).default ResourceResourceFactory.newMemoryResource(URL url) Load a URL into a memory resource.protected ResourceMountedPathResource.newResource(Path path, URI uri) MountedPathResourceFactory.newResource(URI uri) protected ResourcePathResource.newResource(Path path, URI uri) Internal override for creating a new PathResource.PathResourceFactory.newResource(URI uri) default ResourceResourceFactory.newResource(String resource) Construct a resource from a string.ResourceFactory.newResource(URI uri) Construct a resource from a uri.default ResourceResourceFactory.newResource(URL url) Construct aResourcefrom a provided URL.default ResourceResourceFactory.newResource(Path path) Construct a Resource from provided path.default ResourceResourceFactory.newResource(List<URI> uris) Construct a possible combinedResourcefrom a list of URIs.URLResourceFactory.newResource(URI uri) default ResourceResourceFactory.newSystemResource(String resource) Deprecated, for removal: This API element is subject to removal in a future version.useResourceFactory.newClassLoaderResource(String)orResourceFactory.newClassLoaderResource(String, boolean)instead, will be removed in Jetty 12.1.0Resolves a path against the resource collection.abstract ResourceResolve an existing Resource.FileSystemPool.Mount.root()Methods in org.eclipse.jetty.util.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionstatic Comparator<? super Resource> ResourceCollators.byFileName(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.byLastModified(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.byName(boolean sortOrderAscending) static Comparator<? super Resource> ResourceCollators.bySize(boolean sortOrderAscending) MemoryResource.getAllResources()Resource.getAllResources()Get a deep collection of contained resources.CombinedResource.getResources()Retrieves the resource collection's resources.CombinedResource.iterator()Resource.iterator()Return an Iterator of all Resource's referenced in this Resource.CombinedResource.list()MemoryResource.list()PathResource.list()Resource.list()List of contents of a directoryResource.Split a string of references by provided delims into a List ofResource.Methods in org.eclipse.jetty.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of directoryResourcesbooleanbooleanbooleanReturn true if this resource deeply contains the other Resource.static Stringstatic booleanTrue if the resource exists.Get the relative path from this Resource to a possibly contained resource.static booleanResources.isCombined(Resource resource) True if the resource has been created bycombiningother resources.booleanMemoryResource.isContainedIn(Resource container) booleanMountedPathResource.isContainedIn(Resource container) booleanResource.isContainedIn(Resource container) Return true if this resource is contained in the Resource r, either because r is a folder or a jar file or any form of resource capable of containing other resources.static booleanResources.isDirectory(Resource resource) True if resource is a valid directory.static booleanResources.isReadable(Resource resource) True if resource is readable.static booleanResources.isReadableDirectory(Resource resource) True if resource is a valid directory that can be read from.static booleanResources.isReadableFile(Resource resource) True if resource exists, is not a directory, is readable.static booleanTrue if the resource is missing.static ResourceFactoryDeprecated, for removal: This API element is subject to removal in a future version.booleanMethod parameters in org.eclipse.jetty.util.resource with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceMake a directory Resource containing a collection of other directoryResourcesConstructors in org.eclipse.jetty.util.resource with parameters of type Resource -
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
Methods 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.xml
Methods in org.eclipse.jetty.xml with parameters of type ResourceModifier and TypeMethodDescriptionvoidConfigurationProcessor.init(Resource resource, XmlParser.Node root, XmlConfiguration configuration) Initialize a ConfigurationProcessor from provided Resource and XMLConstructors in org.eclipse.jetty.xml with parameters of type ResourceModifierConstructorDescriptionXmlConfiguration(Resource resource) Reads and parses the XML configuration file.Reads and parses the XML configuration file.