Add @FunctionalInterface to RequestMatcher

Add `@FunctionalInterface` to `RequestMatcher`.

According to the documentation, it is a FunctionalInterface.

See: https://docs.spring.io/spring-security/reference/6.5/servlet/authorization/authorize-http-requests.html#match-by-custom

Signed-off-by: Guillaume Husta <guillaume.husta@gmail.com>
This commit is contained in:
Guillaume Husta 2025-12-19 13:29:06 +01:00 committed by Josh Cummings
parent 508b3f26e3
commit dd1f097131

View File

@ -28,6 +28,7 @@ import jakarta.servlet.http.HttpServletRequest;
* @author Eddú Meléndez
* @since 3.0.2
*/
@FunctionalInterface
public interface RequestMatcher {
/**