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.overlays   
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
 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.getMonitoredDirResource()
           
 

Methods in org.eclipse.jetty.deploy.providers with parameters of type 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)
           
HttpContent.ResourceAsHttpContent(Resource resource, Buffer mimeType, int maxBuffer)
           
 

Uses of Resource in org.eclipse.jetty.overlays
 

Methods in org.eclipse.jetty.overlays that return Resource
 Resource TemplateContext.getBaseResource()
           
 Resource TemplateContext.newResource(String urlOrPath)
           
 

Constructors in org.eclipse.jetty.overlays with parameters of type Resource
TemplateContext(String key, Server server, Resource baseResource, ClassLoader libLoader)
           
 

Uses of Resource in org.eclipse.jetty.security
 

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

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 ContextHandler.getBaseResource()
           
 Resource ResourceHandler.getBaseResource()
           
protected  Resource ResourceHandler.getResource(HttpServletRequest request)
           
 Resource ContextHandler.getResource(String path)
           
 Resource ResourceHandler.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
protected  void ResourceHandler.doDirectory(HttpServletRequest request, HttpServletResponse response, Resource resource)
           
protected  void ResourceHandler.doResponseHeaders(HttpServletResponse response, Resource resource, String mimeType)
          Set the response headers.
protected  Resource ResourceHandler.getWelcome(Resource directory)
           
 void ContextHandler.setBaseResource(Resource base)
           
 void ResourceHandler.setBaseResource(Resource base)
           
 

Uses of Resource in org.eclipse.jetty.servlet
 

Methods in org.eclipse.jetty.servlet that return Resource
 Resource DefaultServlet.getResource(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, Enumeration reqRanges)
           
protected  void DefaultServlet.sendDirectory(HttpServletRequest request, HttpServletResponse response, Resource resource, 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(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()
           
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(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
 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)
          Deprecated. 
 

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  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
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
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
 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
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
DefaultsDescriptor(Resource xml)
           
Descriptor(Resource xml)
           
FragmentDescriptor(Resource xml)
           
OverrideDescriptor(Resource xml)
           
TagLibConfiguration.TldDescriptor(Resource xml)
           
WebDescriptor(Resource xml)
           
 



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