瀏覽代碼

Polish NegatedServerWebExchangeMatcher

Issue: gh-5170
Rob Winch 7 年之前
父節點
當前提交
8fbec3f0f1

+ 3 - 1
web/src/main/java/org/springframework/security/web/server/util/matcher/NegatedServerWebExchangeMatcher.java

@@ -20,8 +20,10 @@ import org.springframework.web.server.ServerWebExchange;
 import reactor.core.publisher.Mono;
 
 /**
+ * Negates the provided matcher. If the provided matcher returns true, then the result will be false. If the provided
+ * matcher returns false, then the result will be true.
  * @author Tao Qian
- * @since 5.0
+ * @since 5.1
  */
 public class NegatedServerWebExchangeMatcher implements ServerWebExchangeMatcher {
 	private final ServerWebExchangeMatcher matcher;