Package org.zkoss.web.util.resource
Interface Filter
-
public interface FilterA filter is an object that performs filtering task on a request toExtendlet.- Since:
- 3.5.1
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String pi, FilterChain chain)Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.voidinit(FilterConfig config)Initializes the resource processor.
-
-
-
Method Detail
-
init
void init(FilterConfig config)
Initializes the resource processor.
-
doFilter
void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String pi, FilterChain chain) throws javax.servlet.ServletException, java.io.IOExceptionCauses the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.- Parameters:
request- the request (never null).response- the response (never null).pi- the path info that the request is targeting.- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
-