org.apache.felix.http.base.internal.handler
Class HandlerRegistry

java.lang.Object
  extended by org.apache.felix.http.base.internal.handler.HandlerRegistry

public final class HandlerRegistry
extends Object


Constructor Summary
HandlerRegistry()
           
 
Method Summary
 void addFilter(FilterHandler handler)
           
 void addServlet(ServletHandler handler)
           
 FilterHandler[] getFilters()
           
 Servlet getServletByAlias(String alias)
           
 ServletHandler[] getServlets()
           
 void removeAll()
           
 void removeFilter(javax.servlet.Filter filter, boolean destroy)
           
 void removeServlet(Servlet servlet, boolean destroy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerRegistry

public HandlerRegistry()
Method Detail

getServlets

public ServletHandler[] getServlets()

getFilters

public FilterHandler[] getFilters()

addServlet

public void addServlet(ServletHandler handler)
                throws ServletException,
                       NamespaceException
Throws:
ServletException
NamespaceException

addFilter

public void addFilter(FilterHandler handler)
               throws ServletException
Throws:
ServletException

removeServlet

public void removeServlet(Servlet servlet,
                          boolean destroy)

removeFilter

public void removeFilter(javax.servlet.Filter filter,
                         boolean destroy)

getServletByAlias

public Servlet getServletByAlias(String alias)

removeAll

public void removeAll()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.