Package org.pac4j.core.matching.matcher
Interface Matcher
-
- All Known Implementing Classes:
CacheControlMatcher
,CorsMatcher
,CsrfTokenGeneratorMatcher
,HeaderMatcher
,HttpMethodMatcher
,PathMatcher
,StrictTransportSecurityMatcher
,XContentTypeOptionsMatcher
,XFrameOptionsMatcher
,XSSProtectionMatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Matcher
To match requests.- Since:
- 1.8.1
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(WebContext context, SessionStore sessionStore)
Check if the web context matches.
-
-
-
Method Detail
-
matches
boolean matches(WebContext context, SessionStore sessionStore)
Check if the web context matches.- Parameters:
context
- the web contextsessionStore
- the session store- Returns:
- whether the web context matches
-
-