Method Summary |
|
public FilterHolder | addFilter(String className, String pathSpec, int dispatches) |
public void | addFilter(FilterHolder filter, FilterMapping filterMapping) |
public void | addFilter(FilterHolder filter) |
public void | addFilterMapping(FilterMapping mapping) |
public FilterHolder | addFilterWithMapping(Class filter, String pathSpec, int dispatches) conveniance method to add a filter. |
public FilterHolder | addFilterWithMapping(String className, String pathSpec, int dispatches) conveniance method to add a filter. |
public void | addFilterWithMapping(FilterHolder holder, String pathSpec, int dispatches) conveniance method to add a filter. |
public ServletHolder | addServlet(String className, String pathSpec) Convenience method to add a servlet with a servlet mapping. |
public void | addServlet(ServletHolder holder) Convenience method to add a pre-constructed ServletHolder. |
public void | addServletMapping(ServletMapping mapping) Convenience method to add a pre-constructed ServletMapping. |
public ServletHolder | addServletWithMapping(String className, String pathSpec) conveniance method to add a servlet. |
public ServletHolder | addServletWithMapping(Class servlet, String pathSpec) conveniance method to add a servlet. |
public void | addServletWithMapping(ServletHolder servlet, String pathSpec) conveniance method to add a servlet. |
public Filter | customizeFilter(Filter filter) Customize a Filter. |
public Filter | customizeFilterDestroy(Filter filter) |
public Servlet | customizeServlet(Servlet servlet) Customize a servlet. |
public Servlet | customizeServletDestroy(Servlet servlet) |
protected synchronized void | doStart() |
protected synchronized void | doStop() |
public Object | getContextLog() |
public FilterHolder | getFilter(String name) |
public FilterMapping[] | getFilterMappings() |
public FilterHolder[] | getFilters() Get Filters. |
public PathMap.Entry | getHolderEntry(String pathInContext) ServletHolder matching path.
Parameters: pathInContext - Path within _context. |
public int | getMaxFilterChainsCacheSize() |
public RequestDispatcher | getRequestDispatcher(String uriInContext) |
public ServletHolder | getServlet(String name) |
public ServletContext | getServletContext() |
public ServletMapping[] | getServletMappings() |
public ServletHolder[] | getServlets() Get Servlets. |
public void | handle(String target, HttpServletRequest request, HttpServletResponse response, int type) |
public void | initialize() Initialize filters and load-on-startup servlets. |
public boolean | isFilterChainsCached() |
public boolean | isInitializeAtStart() |
public FilterHolder | newFilterHolder(Class filter) |
public FilterHolder | newFilterHolder() |
public ServletHolder | newServletHolder() |
public ServletHolder | newServletHolder(Class servlet) |
protected void | notFound(HttpServletRequest request, HttpServletResponse response) |
public void | setFilterChainsCached(boolean filterChainsCached) |
public void | setFilterMappings(FilterMapping[] filterMappings) |
public synchronized void | setFilters(FilterHolder[] holders) |
public void | setInitializeAtStart(boolean initializeAtStart) |
public void | setMaxFilterChainsCacheSize(int maxFilterChainsCacheSize) Set the maximum filter chain cache size.
Filter chains are cached if
ServletHandler.isFilterChainsCached() is true. |
public void | setServer(Server server) |
public void | setServletMappings(ServletMapping[] servletMappings) |
public synchronized void | setServlets(ServletHolder[] holders) Set Servlets. |
protected synchronized void | updateMappings() |
protected synchronized void | updateNameMappings() |