## Uses of Class
org.mortbay.resource.Resource

Packages that use Resource
org.mortbay.jetty
org.mortbay.jetty.deployer
org.mortbay.jetty.handler
org.mortbay.jetty.servlet
org.mortbay.jetty.webapp
org.mortbay.resource

Uses of Resource in org.mortbay.jetty

Methods in org.mortbay.jetty that return Resource
`Resource` `HttpContent.getResource()`
`Resource` `ResourceCache.Content.getResource()`

Methods in org.mortbay.jetty with parameters of type Resource
`ResourceCache.Content` `ResourceCache.lookup(String pathInContext, Resource resource)`

Uses of Resource in org.mortbay.jetty.deployer

Methods in org.mortbay.jetty.deployer that return Resource
`Resource` `ContextDeployer.getConfigurationDir()`

Methods in org.mortbay.jetty.deployer with parameters of type Resource
`void` `ContextDeployer.setConfigurationDir(Resource resource)`

Uses of Resource in org.mortbay.jetty.handler

Methods in org.mortbay.jetty.handler that return Resource
`Resource` `ResourceHandler.getBaseResource()`
`Resource` `ContextHandler.getBaseResource()`
`protected Resource` `ResourceHandler.getResource(HttpServletRequest request)`
`Resource` `ResourceHandler.getResource(String path)`
`Resource` `ContextHandler.getResource(String path)`
`protected Resource` `ResourceHandler.getWelcome(Resource directory)`

Methods in org.mortbay.jetty.handler with parameters of type Resource
`protected void` `ResourceHandler.doResponseHeaders(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.mortbay.jetty.servlet

Methods in org.mortbay.jetty.servlet that return Resource
`Resource` `DefaultServlet.getResource(String pathInContext)` get Resource to serve.

Methods in org.mortbay.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, Enumeration reqRanges)`
`protected void` `DefaultServlet.sendDirectory(HttpServletRequest request, HttpServletResponse response, Resource resource, boolean parent)`

Uses of Resource in org.mortbay.jetty.webapp

Methods in org.mortbay.jetty.webapp that return Resource
`Resource` `WebAppContext.getResource(String uriInContext)`
`Resource` `WebAppContext.getWebInf()`

Methods in org.mortbay.jetty.webapp with parameters of type Resource
`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.

Uses of Resource in org.mortbay.resource

Subclasses of Resource in org.mortbay.resource
`class` `FileResource` File Resource.
`class` `JarResource`
`class` `URLResource` Abstract resource class.

Methods in org.mortbay.resource that return Resource
`Resource` `FileResource.addPath(String path)`
`Resource` `URLResource.addPath(String path)` Returns the resource contained inside the current resource with the given name
`abstract Resource` `Resource.addPath(String path)` Returns the resource contained inside the current resource with the given name.
`Resource` `ResourceFactory.getResource(String path)`
`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` `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(URL url)` Construct a resource from a url.
`static Resource` `Resource.newResource(URL url, boolean useCaches)` Construct a resource from a url.
`static Resource` `Resource.newSystemResource(String resource)` Construct a system resource from a string.

Methods in org.mortbay.resource with parameters of type Resource
`static void` `JarResource.extract(Resource resource, File directory, boolean deleteOnExit)`
`boolean` `FileResource.renameTo(Resource dest)` Rename the given resource
`boolean` `URLResource.renameTo(Resource dest)` Rename the given resource
`abstract boolean` `Resource.renameTo(Resource dest)` Rename the given resource

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.