Top Description Methods
jakarta.servlet

public Interface FilterChain

Imports
java.io.IOException

A FilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource. Filters use the FilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.
Since
Servlet 2.3
See Also
Filter

Method Summary

Modifier and TypeMethod and Description
public void
doFilter(ServletRequest
the request to pass along the chain.
request
,
ServletResponse
the response to pass along the chain.
response
)

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.

Method Detail

doFilterback to summary
public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException

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.

Parameters
request:ServletRequest

the request to pass along the chain.

response:ServletResponse

the response to pass along the chain.

Exceptions
IOException:
if an I/O related error has occurred during the processing
ServletException:
if an exception has occurred that interferes with the filterChain's normal operation