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 boolean
matches(org.forgerock.services.context.Context context, Request request)
Returnstrue
if the conditional filter should be invoked, orfalse
if processing should continue directly to the next filter in the filter chain.
-
-
-
Method Detail
-
matches
boolean matches(org.forgerock.services.context.Context context, Request request)
Returnstrue
if the conditional filter should be invoked, orfalse
if 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:
true
if the conditional filter should be invoked.
-
-