Add next(ServerWebExchange exchange, List<PluginConfig> pcs) method
This commit is contained in:
@@ -84,4 +84,11 @@ public final class FizzPluginFilterChain {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
}
|
||||
|
||||
public static Mono<Void> next(ServerWebExchange exchange, List<PluginConfig> pcs) {
|
||||
Iterator<PluginConfig> it = pcs.iterator();
|
||||
Map<String, Object> attris = exchange.getAttributes();
|
||||
attris.put(pluginConfigsIt, it);
|
||||
return next(exchange);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user