spring-framework / org.springframework.mock.web / PassThroughFilterChain / <init>

<init>

PassThroughFilterChain(filter: Filter, nextFilterChain: FilterChain)

Create a new PassThroughFilterChain that delegates to the given Filter, calling it with the given FilterChain.

Parameters

filter - the Filter to delegate to

nextFilterChain - the FilterChain to use for that next Filter

PassThroughFilterChain(servlet: Servlet)

Create a new PassThroughFilterChain that delegates to the given Servlet.

Parameters

servlet - the Servlet to delegate to