net.dpml.http
Class ResourceHandler

java.lang.Object
  extended byorg.mortbay.component.AbstractLifeCycle
      extended byorg.mortbay.jetty.handler.AbstractHandler
          extended byorg.mortbay.jetty.servlet.ServletHandler
              extended bynet.dpml.http.ResourceHandler
All Implemented Interfaces:
Handler, LifeCycle

public class ResourceHandler
extends ServletHandler

Default implementation of a static resource handler.

Version:
0.0.1
Author:
Digital Product Meta Library

Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.ServletHandler
__DEFAULT_SERVLET, __J_S_CONTEXT_TEMPDIR, __J_S_ERROR_EXCEPTION, __J_S_ERROR_EXCEPTION_TYPE, __J_S_ERROR_MESSAGE, __J_S_ERROR_REQUEST_URI, __J_S_ERROR_SERVLET_NAME, __J_S_ERROR_STATUS_CODE, _chainCache, _namedChainCache
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
ResourceHandler(String name, String path)
          Creation of a new resource handler.
 
Methods inherited from class org.mortbay.jetty.servlet.ServletHandler
addFilter, addFilter, addFilter, addFilterMapping, addFilterWithMapping, addFilterWithMapping, addFilterWithMapping, addServlet, addServlet, addServletMapping, addServletWithMapping, addServletWithMapping, addServletWithMapping, doStart, doStop, getContextLog, getFilterMappings, getFilters, getHolderEntry, getMaxFilterChainsCacheSize, getRequestDispatcher, getServletContext, getServletMappings, getServlets, handle, initialize, isFilterChainsCached, isInitializeAtStart, newFilterHolder, newFilterHolder, newServletHolder, newServletHolder, notFound, setFilterChainsCached, setFilterMappings, setFilters, setInitializeAtStart, setMaxFilterChainsCacheSize, setServer, setServletMappings, setServlets, updateMappings
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
getServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Constructor Detail

ResourceHandler

public ResourceHandler(String name,
                       String path)
Creation of a new resource handler.

Parameters:
name - the resource handler name
path - the resourdce path