Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.eclipse.jetty.util.resource.Resource

Packages that use Resource
org.eclipse.jetty.annotations |
org.eclipse.jetty.deploy |
org.eclipse.jetty.deploy.providers |
org.eclipse.jetty.http |
org.eclipse.jetty.security |
org.eclipse.jetty.server |
org.eclipse.jetty.server.handler |
org.eclipse.jetty.servlet |
org.eclipse.jetty.util.resource |
org.eclipse.jetty.webapp |

Uses of Resource in org.eclipse.jetty.annotations

Methods in org.eclipse.jetty.annotations with parameters of type Resource
`FragmentDescriptor` | `AnnotationConfiguration.getFragmentFromJar(Resource jar, java.util.List<FragmentDescriptor> frags)`
`void` | `AnnotationParser.parse(Resource dir, ClassNameResolver resolver)`

Uses of Resource in org.eclipse.jetty.deploy

Methods in org.eclipse.jetty.deploy that return Resource
`Resource` | `ContextDeployer.getConfigurationDir()` Deprecated. use `ContextDeployer.setContextsDir(String)`

Methods in org.eclipse.jetty.deploy with parameters of type Resource
`void` | `ContextDeployer.setConfigurationDir(Resource resource)` Deprecated. use `ContextDeployer.setContextsDir(String)`

Uses of Resource in org.eclipse.jetty.deploy.providers

Methods in org.eclipse.jetty.deploy.providers that return Resource
`Resource` | `ScanningAppProvider.getMonitoredDir()` Deprecated.
`Resource` | `ScanningAppProvider.getMonitoredDirResource()`

Methods in org.eclipse.jetty.deploy.providers with parameters of type Resource
`void` | `ScanningAppProvider.setMonitoredDir(Resource dir)` Deprecated. use `ScanningAppProvider.setMonitoredDirResource(Resource)`
`void` | `ScanningAppProvider.setMonitoredDirResource(Resource contextsDir)`

Uses of Resource in org.eclipse.jetty.http

Methods in org.eclipse.jetty.http that return Resource
`Resource` | `HttpContent.getResource()`
`Resource` | `HttpContent.ResourceAsHttpContent.getResource()`

Constructors in org.eclipse.jetty.http with parameters of type Resource
`HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType)`

Uses of Resource in org.eclipse.jetty.security

Methods in org.eclipse.jetty.security that return Resource
`Resource` | `PropertyUserStore.getConfigResource()` returns the resource associated with the configured properties file, creating it if necessary
`Resource` | `HashLoginService.getConfigResource()`

Uses of Resource in org.eclipse.jetty.server

Methods in org.eclipse.jetty.server that return Resource
`Resource` | `ResourceCache.Content.getResource()`

Methods in org.eclipse.jetty.server with parameters of type Resource
`protected Buffer` | `ResourceCache.getDirectBuffer(Resource resource)`
`protected Buffer` | `ResourceCache.getIndirectBuffer(Resource resource)`
`protected boolean` | `ResourceCache.isCacheable(Resource resource)`

Uses of Resource in org.eclipse.jetty.server.handler

Methods in org.eclipse.jetty.server.handler that return Resource
`Resource` | `ResourceHandler.getBaseResource()`
`Resource` | `ContextHandler.getBaseResource()`
`protected Resource` | `ResourceHandler.getResource(HttpServletRequest request)`
`Resource` | `ResourceHandler.getResource(java.lang.String path)`
`Resource` | `ContextHandler.getResource(java.lang.String path)`
`Resource` | `ResourceHandler.getStylesheet()`
`protected Resource` | `ResourceHandler.getWelcome(Resource directory)`
`Resource` | `ContextHandler.newResource(java.lang.String urlOrPath)` Convert a URL or path to a Resource.
`Resource` | `ContextHandler.newResource(java.net.URL url)` Convert URL to Resource wrapper for `newResource(URL)` enables extensions to provide alternate resource implementations.

Methods in org.eclipse.jetty.server.handler with parameters of type Resource
`protected void` | `ResourceHandler.doDirectory(HttpServletRequest request, HttpServletResponse response, Resource resource)`
`protected void` | `ResourceHandler.doResponseHeaders(HttpServletResponse response, Resource resource, java.lang.String mimeType)` Set the response headers.
`protected Resource` | `ResourceHandler.getWelcome(Resource directory)`
`void` | `ResourceHandler.setBaseResource(Resource base)`
`void` | `ContextHandler.setBaseResource(Resource base)`

Uses of Resource in org.eclipse.jetty.servlet

Methods in org.eclipse.jetty.servlet that return Resource
`Resource` | `DefaultServlet.getResource(java.lang.String pathInContext)` get Resource to serve.

Methods in org.eclipse.jetty.servlet with parameters of type Resource
`protected boolean` | `DefaultServlet.passConditionalHeaders(HttpServletRequest request, HttpServletResponse response, Resource resource, HttpContent content)`
`protected void` | `DefaultServlet.sendData(HttpServletRequest request, HttpServletResponse response, boolean include, Resource resource, HttpContent content, java.util.Enumeration reqRanges)`
`protected void` | `DefaultServlet.sendDirectory(HttpServletRequest request, HttpServletResponse response, Resource resource, java.lang.String pathInContext)`

Uses of Resource in org.eclipse.jetty.util.resource

Subclasses of Resource in org.eclipse.jetty.util.resource
`class` | `FileResource` File Resource.
`class` | `JarResource`
`class` | `ResourceCollection` A collection of resources (dirs).
`class` | `URLResource` Abstract resource class.

Methods in org.eclipse.jetty.util.resource that return Resource
`Resource` | `URLResource.addPath(java.lang.String path)` Returns the resource contained inside the current resource with the given name
`Resource` | `ResourceCollection.addPath(java.lang.String path)`
`abstract Resource` | `Resource.addPath(java.lang.String path)` Returns the resource contained inside the current resource with the given name.
`Resource` | `FileResource.addPath(java.lang.String path)`
`Resource` | `ResourceFactory.getResource(java.lang.String path)` Get a resource for a path.
`Resource` | `Resource.getResource(java.lang.String path)` Get a resource from withing this resource.
`Resource[]` | `ResourceCollection.getResources()`
`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.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.newSystemResource(java.lang.String resource)` Construct a system resource from a string.

Methods in org.eclipse.jetty.util.resource with parameters of type Resource
`boolean` | `URLResource.isContainedIn(Resource containingResource)`
`boolean` | `ResourceCollection.isContainedIn(Resource r)`
`abstract boolean` | `Resource.isContainedIn(Resource r)`
`static boolean` | `Resource.isContainedIn(Resource r, Resource containingResource)`
`static Resource` | `JarResource.newJarResource(Resource resource)`
`boolean` | `URLResource.renameTo(Resource dest)` Rename the given resource
`boolean` | `ResourceCollection.renameTo(Resource dest)`
`abstract boolean` | `Resource.renameTo(Resource dest)` Rename the given resource
`boolean` | `FileResource.renameTo(Resource dest)` Rename the given resource

Constructors in org.eclipse.jetty.util.resource with parameters of type Resource
`ResourceCollection(Resource... resources)`

Uses of Resource in org.eclipse.jetty.webapp

Fields in org.eclipse.jetty.webapp declared as Resource
`protected Resource` | `WebInfConfiguration._preUnpackBaseResource`
`protected Resource` | `Descriptor._xml`

Fields in org.eclipse.jetty.webapp with type parameters of type Resource
`protected java.util.LinkedList<Resource>` | `Ordering.RelativeOrdering._afterOthers`
`protected java.util.LinkedList<Resource>` | `Ordering.RelativeOrdering._beforeOthers`
`protected java.util.LinkedList<Resource>` | `Ordering.RelativeOrdering._noOthers`
`protected java.util.List<Resource>` | `MetaData._orderedContainerJars`
`protected java.util.List<Resource>` | `MetaData._orderedWebInfJars`
`protected java.util.Map<Resource,java.util.List<DiscoveredAnnotation>>` | `MetaData._webFragmentAnnotations`
`protected java.util.Map<Resource,FragmentDescriptor>` | `MetaData._webFragmentResourceMap`
`protected java.util.List<Resource>` | `MetaData._webInfJars`

Methods in org.eclipse.jetty.webapp that return Resource
`protected Resource` | `WebXmlConfiguration.findWebXml(WebAppContext context)`
`Resource` | `MetaData.getJarForFragment(java.lang.String name)`
`Resource` | `Descriptor.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
`protected java.util.List<Resource>` | `WebInfConfiguration.findJars(WebAppContext context)` Look for jars in WEB-INF/lib
`java.util.List<Resource>` | `MetaData.getOrderedContainerJars()`
`java.util.List<Resource>` | `MetaData.getOrderedWebInfJars()`
`java.util.List<Resource>` | `MetaData.getWebInfJars()`
`java.util.List<Resource>` | `Ordering.order(java.util.List<Resource> fragments)`
`java.util.List<Resource>` | `Ordering.AbsoluteOrdering.order(java.util.List<Resource> jars)` Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
`java.util.List<Resource>` | `Ordering.RelativeOrdering.order(java.util.List<Resource> jars)` Order the list of jars according to the ordering declared in the various web-fragment.xml files.

Methods in org.eclipse.jetty.webapp with parameters of type Resource
`void` | `Ordering.RelativeOrdering.addAfterOthers(Resource r)`
`void` | `Ordering.RelativeOrdering.addBeforeOthers(Resource r)`
`void` | `WebAppClassLoader.addClassPath(Resource resource)`
`void` | `MetaData.addContainerJar(Resource jar)`
`void` | `MetaData.addDiscoveredAnnotations(Resource resource, java.util.List<DiscoveredAnnotation> annotations)`
`void` | `MetaData.addFragment(Resource jarResource, Resource xmlResource)` Add a web-fragment.xml
`void` | `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` | `Ordering.RelativeOrdering.addNoOthers(Resource r)`
`void` | `MetaData.addOverride(Resource override)`
`void` | `MetaInfConfiguration.addResource(WebAppContext context, java.lang.String attribute, Resource jar)`
`void` | `MetaData.addWebInfJar(Resource newResource)`
`FragmentDescriptor` | `MetaData.getFragment(Resource jar)`
`protected void` | `Ordering.RelativeOrdering.insert(java.util.List<Resource> list, int index, Resource resource)`
`protected void` | `Ordering.RelativeOrdering.remove(java.util.List<Resource> resources, Resource r)`
`void` | `MetaData.setDefaults(Resource webDefaults)`
`void` | `MetaData.setWebXml(Resource webXml)`

Method parameters in org.eclipse.jetty.webapp with type arguments of type Resource
`protected int` | `Ordering.RelativeOrdering.getIndexOf(java.util.List<Resource> resources, java.lang.String fragmentName)`
`protected void` | `Ordering.RelativeOrdering.insert(java.util.List<Resource> list, int index, Resource resource)`
`protected void` | `Ordering.RelativeOrdering.insert(java.util.List<Resource> list, int index, java.lang.String fragName)` Insert the resource matching the fragName into the list of resources at the location indicated by index.
`protected boolean` | `Ordering.RelativeOrdering.isAfter(java.util.List<Resource> list, java.lang.String fragNameA, java.lang.String fragNameB)` Is fragment name "a" after fragment name "b"?
`protected boolean` | `Ordering.RelativeOrdering.isBefore(java.util.List<Resource> list, java.lang.String fragNameA, java.lang.String fragNameB)` Is fragment with name a before fragment with name b?
`java.util.List<Resource>` | `Ordering.order(java.util.List<Resource> fragments)`
`java.util.List<Resource>` | `Ordering.AbsoluteOrdering.order(java.util.List<Resource> jars)` Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
`java.util.List<Resource>` | `Ordering.RelativeOrdering.order(java.util.List<Resource> jars)` Order the list of jars according to the ordering declared in the various web-fragment.xml files.
`protected boolean` | `Ordering.RelativeOrdering.orderList(java.util.LinkedList<Resource> list)`
`protected void` | `Ordering.RelativeOrdering.remove(java.util.List<Resource> resources, Resource r)`

Constructors in org.eclipse.jetty.webapp with parameters of type Resource
`DefaultsDescriptor(Resource xml)`
`Descriptor(Resource xml)`
`FragmentDescriptor(Resource xml)`
`OverrideDescriptor(Resource xml)`
`TagLibConfiguration.TldDescriptor(Resource xml)`
`WebDescriptor(Resource xml)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.