Package org.forgerock.json.resource
Interface FilterCondition
-
- 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 FilterCondition
A condition which controls whether or not a filter will be invoked or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(Context context, Request request)Returnstrueif the conditional filter should be invoked, orfalseif processing should continue directly to the next filter in the filter chain.
-
-
-
Method Detail
-
matches
boolean matches(Context context, Request request)
Returnstrueif the conditional filter should be invoked, orfalseif processing should continue directly to the next filter in the filter chain.- Parameters:
context- The filter chain context.request- The request to be filtered.- Returns:
trueif the conditional filter should be invoked.
-
-