Class FilterRegistration

java.lang.Object
org.adempiere.eclipse.equinox.http.servlet.Registration
org.adempiere.eclipse.equinox.http.servlet.FilterRegistration
All Implemented Interfaces:
Comparable<FilterRegistration>

public class FilterRegistration extends Registration implements Comparable<FilterRegistration>
  • Constructor Details

    • FilterRegistration

      public FilterRegistration(javax.servlet.Filter filter, org.osgi.service.http.HttpContext context, String alias, int priority)
  • Method Details

    • destroy

      public void destroy()
      Overrides:
      destroy in class Registration
    • init

      public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
      Throws:
      javax.servlet.ServletException
    • doFilter

      public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • getFilter

      public javax.servlet.Filter getFilter()
    • getHttpContext

      public org.osgi.service.http.HttpContext getHttpContext()
    • matches

      public boolean matches(String dispatchPathInfo)
    • compareTo

      public int compareTo(FilterRegistration otherFilterRegistration)
      Specified by:
      compareTo in interface Comparable<FilterRegistration>