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

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

public final class FilterHandler
extends AbstractHandler


Constructor Summary
FilterHandler(ExtServletContext context, javax.servlet.Filter filter, String pattern, int ranking)
           
 
Method Summary
 int compareTo(FilterHandler other)
           
 void destroy()
           
 javax.servlet.Filter getFilter()
           
 void handle(HttpServletRequest req, HttpServletResponse res, javax.servlet.FilterChain chain)
           
 void init()
           
 boolean matches(String uri)
           
 
Methods inherited from class org.apache.felix.http.base.internal.handler.AbstractHandler
getContext, getId, getInitParams, setInitParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterHandler

public FilterHandler(ExtServletContext context,
                     javax.servlet.Filter filter,
                     String pattern,
                     int ranking)
Method Detail

getFilter

public javax.servlet.Filter getFilter()

init

public void init()
          throws ServletException
Specified by:
init in class AbstractHandler
Throws:
ServletException

destroy

public void destroy()
Specified by:
destroy in class AbstractHandler

matches

public boolean matches(String uri)

handle

public void handle(HttpServletRequest req,
                   HttpServletResponse res,
                   javax.servlet.FilterChain chain)
            throws ServletException,
                   IOException
Throws:
ServletException
IOException

compareTo

public int compareTo(FilterHandler other)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.