org.mortbay.jetty.plus.servlet
Class ServletHandler

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

public class ServletHandler
extends ServletHandler

ServletHandler


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
ServletHandler()
           
 
Method Summary
 Filter customizeFilter(Filter filter)
          Customize a Filter.
 Filter customizeFilterDestroy(Filter filter)
           
 Servlet customizeServlet(Servlet servlet)
          Customize a servlet.
 Servlet customizeServletDestroy(Servlet servlet)
           
 LifeCycleCallbackCollection getCallbacks()
           
 InjectionCollection getInjections()
           
 void setCallbacks(LifeCycleCallbackCollection callbacks)
           
 void setInjections(InjectionCollection injections)
           
 
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, getFilter, getFilterMappings, getFilters, getHolderEntry, getMaxFilterChainsCacheSize, getRequestDispatcher, getServlet, getServletContext, getServletMappings, getServlets, handle, initialize, isAvailable, isFilterChainsCached, isInitializeAtStart, newFilterHolder, newFilterHolder, newServletHolder, newServletHolder, notFound, setFilterChainsCached, setFilterMappings, setFilters, setInitializeAtStart, setMaxFilterChainsCacheSize, setServer, setServletMappings, setServlets, updateMappings, updateNameMappings
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
destroy, getServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, 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, isStopped, isStopping, start, stop
 

Constructor Detail

ServletHandler

public ServletHandler()
Method Detail

getCallbacks

public LifeCycleCallbackCollection getCallbacks()
Returns:
the callbacks

setCallbacks

public void setCallbacks(LifeCycleCallbackCollection callbacks)
Parameters:
callbacks - the callbacks to set

getInjections

public InjectionCollection getInjections()
Returns:
the injections

setInjections

public void setInjections(InjectionCollection injections)
Parameters:
injections - the injections to set

customizeFilter

public Filter customizeFilter(Filter filter)
                       throws Exception
Description copied from class: ServletHandler
Customize a Filter. Called before the Filter goes into service. Subclasses of ServletHandler should override this method.

Overrides:
customizeFilter in class ServletHandler
Parameters:
filter -
Returns:
Throws:
Exception
See Also:
ServletHandler.customizeFilter(javax.servlet.Filter)

customizeServlet

public Servlet customizeServlet(Servlet servlet)
                         throws Exception
Description copied from class: ServletHandler
Customize a servlet. Called before the servlet goes into service. Subclasses of ServletHandler should override this method.

Overrides:
customizeServlet in class ServletHandler
Parameters:
servlet -
Returns:
Throws:
Exception
See Also:
ServletHandler.customizeServlet(javax.servlet.Servlet)

customizeFilterDestroy

public Filter customizeFilterDestroy(Filter filter)
                              throws Exception
Overrides:
customizeFilterDestroy in class ServletHandler
Throws:
Exception
See Also:
org.mortbay.jetty.servlet.ServletHandler#cusomizeFilterDestroy(javax.servlet.Filter)

customizeServletDestroy

public Servlet customizeServletDestroy(Servlet servlet)
                                throws Exception
Overrides:
customizeServletDestroy in class ServletHandler
Throws:
Exception
See Also:
ServletHandler.customizeServletDestroy(javax.servlet.Servlet)


Copyright © {inceptionYear}-2007 Mort Bay Consulting. All Rights Reserved.