Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void setExchangeRejectedHandler(ServerExchangeRejectedHandler exchangeRej
}

/**
* Used to decorate the original {@link FilterChain} for each request
* Used to decorate the original {@link WebFilterChain} for each request
*
* <p>
* By default, this decorates the filter chain with a {@link DefaultWebFilterChain}
Expand All @@ -122,21 +122,21 @@ public void setFilterChainDecorator(WebFilterChainDecorator filterChainDecorator
public interface WebFilterChainDecorator {

/**
* Provide a new {@link FilterChain} that accounts for needed security
* Provide a new {@link WebFilterChain} that accounts for needed security
* considerations when there are no security filters.
* @param original the original {@link FilterChain}
* @return a security-enabled {@link FilterChain}
* @param original the original {@link WebFilterChain}
* @return a security-enabled {@link WebFilterChain}
*/
default WebFilterChain decorate(WebFilterChain original) {
return decorate(original, Collections.emptyList());
}

/**
* Provide a new {@link FilterChain} that accounts for the provided filters as
* Provide a new {@link WebFilterChain} that accounts for the provided filters as
* well as the original filter chain.
* @param original the original {@link FilterChain}
* @param original the original {@link WebFilterChain}
* @param filters the security filters
* @return a security-enabled {@link FilterChain} that includes the provided
* @return a security-enabled {@link WebFilterChain} that includes the provided
* filters
*/
WebFilterChain decorate(WebFilterChain original, List<WebFilter> filters);
Expand Down