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

- Packages that use Resource
  Package | Description
  --- | ---
  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.util.ssl |
  org.eclipse.jetty.webapp |

- - ### Uses of Resource in org.eclipse.jetty.annotations

    Methods in org.eclipse.jetty.annotations with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | AnnotationParser.`parse(Resource dir, ClassNameResolver resolver)`

  - ### Uses of Resource in org.eclipse.jetty.deploy

    Methods in org.eclipse.jetty.deploy that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ContextDeployer.`getConfigurationDir()` Deprecated. use `ContextDeployer.setContextsDir(String)`

    Methods in org.eclipse.jetty.deploy with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ScanningAppProvider.`getMonitoredDirResource()`

    Methods in org.eclipse.jetty.deploy.providers with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | ScanningAppProvider.`setMonitoredDirResource(Resource contextsDir)`

  - ### Uses of Resource in org.eclipse.jetty.http

    Methods in org.eclipse.jetty.http that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | HttpContent.`getResource()`
    `Resource` | HttpContent.ResourceAsHttpContent.`getResource()`

    Constructors in org.eclipse.jetty.http with parameters of type Resource
    Constructor and Description
    `HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType)`
    `HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType, boolean etag)`
    `HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType, int maxBuffer)`
    `HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType, int maxBuffer, boolean etag)`

  - ### Uses of Resource in org.eclipse.jetty.security

    Methods in org.eclipse.jetty.security that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceCache.Content.`getResource()`

    Methods in org.eclipse.jetty.server with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceHandler.`getBaseResource()`
    `Resource` | ContextHandler.`getBaseResource()`
    `protected Resource` | ResourceHandler.`getResource(javax.servlet.http.HttpServletRequest request)`
    `Resource` | ResourceHandler.`getResource(String path)`
    `Resource` | ContextHandler.`getResource(String path)`
    `Resource` | ResourceHandler.`getStylesheet()`
    `protected Resource` | ResourceHandler.`getWelcome(Resource directory)`
    `Resource` | ContextHandler.`newResource(String urlOrPath)` Convert a URL or path to a Resource.
    `Resource` | ContextHandler.`newResource(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
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ContextHandler.AliasCheck.`check(String path, Resource resource)` Check an alias
    `boolean` | ContextHandler.ApproveSameSuffixAliases.`check(String path, Resource resource)` Deprecated.
    `boolean` | ContextHandler.ApprovePathPrefixAliases.`check(String path, Resource resource)` Deprecated.
    `boolean` | ContextHandler.ApproveNonExistentDirectoryAliases.`check(String path, Resource resource)`
    `boolean` | ContextHandler.`checkAlias(String path, Resource resource)`
    `protected void` | ResourceHandler.`doDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource)`
    `protected void` | ResourceHandler.`doResponseHeaders(javax.servlet.http.HttpServletResponse response, Resource resource, 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
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | DefaultServlet.`getResource(String pathInContext)` get Resource to serve.

    Methods in org.eclipse.jetty.servlet with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | DefaultServlet.`passConditionalHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource, HttpContent content)`
    `protected void` | DefaultServlet.`sendData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean include, Resource resource, HttpContent content, Enumeration reqRanges)`
    `protected void` | DefaultServlet.`sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Resource resource, String pathInContext)`

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

    Subclasses of Resource in org.eclipse.jetty.util.resource
    Modifier and Type | Class and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | URLResource.`addPath(String path)` Returns the resource contained inside the current resource with the given name
    `Resource` | ResourceCollection.`addPath(String path)`
    `abstract Resource` | Resource.`addPath(String path)` Returns the resource contained inside the current resource with the given name.
    `Resource` | FileResource.`addPath(String path)`
    `Resource` | ResourceFactory.`getResource(String path)` Get a resource for a path.
    `Resource` | Resource.`getResource(String path)` Get a resource from withing this resource.
    `Resource[]` | ResourceCollection.`getResources()` Retrieves the resource collection's resources.
    `static Resource` | Resource.`newClassPathResource(String resource)` Find a classpath resource.
    `static Resource` | Resource.`newClassPathResource(String name, boolean useCaches, boolean checkParents)` Find a classpath resource.
    `static Resource` | JarResource.`newJarResource(Resource resource)`
    `static Resource` | Resource.`newResource(File file)`
    `static Resource` | Resource.`newResource(String resource)` Construct a resource from a string.
    `static Resource` | Resource.`newResource(String resource, boolean useCaches)` Construct a resource from a string.
    `static Resource` | Resource.`newResource(URI uri)` Construct a resource from a uri.
    `static Resource` | Resource.`newResource(URL url)` Construct a resource from a url.
    `static Resource` | Resource.`newSystemResource(String resource)` Construct a system resource from a string.

    Methods in org.eclipse.jetty.util.resource with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `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
    `void` | ResourceCollection.`setResources(Resource[] resources)` Sets the resource collection's resources.

    Constructors in org.eclipse.jetty.util.resource with parameters of type Resource
    Constructor and Description
    `ResourceCollection(Resource... resources)` Instantiates a new resource collection.

  - ### Uses of Resource in org.eclipse.jetty.util.ssl

    Methods in org.eclipse.jetty.util.ssl with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `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 and Description
    --- | ---
    `protected Resource` | WebInfConfiguration.`_preUnpackBaseResource`
    `protected Resource` | Descriptor.`_xml`

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

    Methods in org.eclipse.jetty.webapp that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `protected Resource` | WebXmlConfiguration.`findWebXml(WebAppContext context)`
    `Resource` | MetaData.`getJarForFragment(String name)`
    `Resource` | Descriptor.`getResource()`
    `Resource` | WebAppContext.`getResource(String uriInContext)`
    `Resource` | WebAppContext.`getWebInf()`
    `Resource` | 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 Resource
    Modifier and Type | Method and Description
    --- | ---
    `protected List<Resource>` | WebInfConfiguration.`findJars(WebAppContext context)` Look for jars in WEB-INF/lib
    `List<Resource>` | MetaData.`getOrderedContainerJars()`
    `List<Resource>` | MetaData.`getOrderedWebInfJars()`
    `List<Resource>` | MetaData.`getWebInfJars()`
    `List<Resource>` | Ordering.`order(List<Resource> fragments)`
    `List<Resource>` | Ordering.AbsoluteOrdering.`order(List<Resource> jars)` Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
    `List<Resource>` | Ordering.RelativeOrdering.`order(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
    Modifier and Type | Method and Description
    --- | ---
    `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, 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, String attribute, Resource jar)`
    `void` | MetaData.`addWebInfJar(Resource newResource)`
    `FragmentDescriptor` | MetaData.`getFragment(Resource jar)`
    `protected void` | Ordering.RelativeOrdering.`insert(List<Resource> list, int index, Resource resource)`
    `protected void` | Ordering.RelativeOrdering.`remove(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
    Modifier and Type | Method and Description
    --- | ---
    `protected int` | Ordering.RelativeOrdering.`getIndexOf(List<Resource> resources, String fragmentName)`
    `protected void` | Ordering.RelativeOrdering.`insert(List<Resource> list, int index, Resource resource)`
    `protected void` | Ordering.RelativeOrdering.`insert(List<Resource> list, int index, String fragName)` Insert the resource matching the fragName into the list of resources at the location indicated by index.
    `protected boolean` | Ordering.RelativeOrdering.`isAfter(List<Resource> list, String fragNameA, String fragNameB)` Is fragment name "a" after fragment name "b"?
    `protected boolean` | Ordering.RelativeOrdering.`isBefore(List<Resource> list, String fragNameA, String fragNameB)` Is fragment with name a before fragment with name b?
    `List<Resource>` | Ordering.`order(List<Resource> fragments)`
    `List<Resource>` | Ordering.AbsoluteOrdering.`order(List<Resource> jars)` Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
    `List<Resource>` | Ordering.RelativeOrdering.`order(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(LinkedList<Resource> list)`
    `protected void` | Ordering.RelativeOrdering.`remove(List<Resource> resources, Resource r)`

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

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