org.eclipse.jetty.plus.servlet
Class ServletHandler

java.lang.Object
  extended by org.eclipse.jetty.util.component.AbstractLifeCycle
      extended by org.eclipse.jetty.server.handler.AbstractHandler
          extended by org.eclipse.jetty.server.handler.AbstractHandlerContainer
              extended by org.eclipse.jetty.server.handler.HandlerWrapper
                  extended by org.eclipse.jetty.server.handler.ScopedHandler
                      extended by org.eclipse.jetty.servlet.ServletHandler
                          extended by org.eclipse.jetty.plus.servlet.ServletHandler
All Implemented Interfaces:
Handler, HandlerContainer, LifeCycle

public class ServletHandler
extends ServletHandler

ServletHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
 
Field Summary
 
Fields inherited from class org.eclipse.jetty.servlet.ServletHandler
__DEFAULT_SERVLET, _chainCache
 
Fields inherited from class org.eclipse.jetty.server.handler.ScopedHandler
_nextScope, _outerScope
 
Fields inherited from class org.eclipse.jetty.server.handler.HandlerWrapper
_handler
 
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
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.eclipse.jetty.servlet.ServletHandler
addFilter, addFilter, addFilter, addFilterMapping, addFilterWithMapping, addFilterWithMapping, addFilterWithMapping, addServlet, addServlet, addServletMapping, addServletWithMapping, addServletWithMapping, addServletWithMapping, doHandle, doScope, doStart, doStop, dump, getContextLog, getFilter, getFilterMappings, getFilters, getHolderEntry, getMaxFilterChainsCacheSize, getRequestDispatcher, getServlet, getServletContext, getServletMappings, getServlets, initialize, isAvailable, isFilterChainsCached, isInitializeAtStart, isStartWithUnavailable, matchesPath, newFilterHolder, newFilterHolder, newServletHolder, newServletHolder, notFound, prependFilterMapping, setFilterChainsCached, setFilterMappings, setFilters, setInitializeAtStart, setMaxFilterChainsCacheSize, setServer, setServletMappings, setServlets, setStartWithUnavailable, updateMappings, updateNameMappings
 
Methods inherited from class org.eclipse.jetty.server.handler.ScopedHandler
handle, nextHandle, nextScope
 
Methods inherited from class org.eclipse.jetty.server.handler.HandlerWrapper
expandChildren, getHandler, getHandlers, setHandler
 
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandler
destroy, dump, getServer, toString
 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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
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
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.eclipse.jetty.servlet.servlet.ServletHandler#cusomizeFilterDestroy(javax.servlet.Filter)

customizeServletDestroy

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


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