Class FilterRegistration
java.lang.Object
org.adempiere.eclipse.equinox.http.servlet.Registration
org.adempiere.eclipse.equinox.http.servlet.FilterRegistration
- All Implemented Interfaces:
Comparable<FilterRegistration>
-
Field Summary
Fields inherited from class org.adempiere.eclipse.equinox.http.servlet.Registration
referenceCount
-
Constructor Summary
ConstructorDescriptionFilterRegistration
(javax.servlet.Filter filter, org.osgi.service.http.HttpContext context, String alias, int priority) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(FilterRegistration otherFilterRegistration) void
destroy()
void
doFilter
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) javax.servlet.Filter
org.osgi.service.http.HttpContext
void
init
(javax.servlet.FilterConfig filterConfig) boolean
Methods inherited from class org.adempiere.eclipse.equinox.http.servlet.Registration
addReference, removeReference
-
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 classRegistration
-
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
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FilterRegistration>
-