Used for testing the web framework; also useful for testing custom {@link javax.servlet.Filter} implementations. @author Juergen Hoeller @since 2.0.3 @see MockFilterConfig @see PassThroughFilterChain
Mock implementation of the {@link javax.servlet.FilterChain} interface. Usedfor testing the web framework; also useful for testing custom {@link javax.servlet.Filter} implementations.
A {@link MockFilterChain} can be configured with one or more filters and aServlet to invoke. The first time the chain is called, it invokes all filters and the Servlet, and saves the request and response. Subsequent invocations raise an {@link IllegalStateException} unless {@link #reset()} is called. @author Juergen Hoeller @author Rob Winch @author Rossen Stoyanchev @since 2.0.3 @see MockFilterConfig @see PassThroughFilterChain
Mock implementation of the {@link javax.servlet.FilterChain} interface. Usedfor testing the web framework; also useful for testing custom {@link javax.servlet.Filter} implementations.
A {@link MockFilterChain} can be configured with one or more filters and aServlet to be invoked. When the chain is invoked, it invokes in turn all filters and the Servlet and saves the request and response. Subsequent invocations raise an {@link IllegalStateException} unless {@link #reset()} iscalled. @author Juergen Hoeller @author Rob Winch @author Rossen Stoyanchev @since 2.0.3 @see MockFilterConfig @see PassThroughFilterChain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|