Package org.zkoss.web.util.resource
Interface FilterChain
public interface FilterChain
A
FilterChain is an object provided by ZK to the developer
giving a view into the invocation chain of a filtered request.
Filters use FilterChain to invoke the next filter
(Filter) in the chain,
or if the calling filter is the last filter in the chain,
to invoke Extendlet at the end of the chain.- Since:
- 3.5.1
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
Method Details
-
doFilter
void doFilter(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Causes the next filterFilterin the chain to be invoked, or if the calling filter is the last filter in the chain, causesExtendletat the end of the chain to be invoked.- Parameters:
request- the request (never null).response- the response (never null).- Throws:
jakarta.servlet.ServletExceptionIOException
-