Class BsonRequestArrayIsSubsetPredicate

java.lang.Object
org.restheart.security.predicates.BsonRequestArrayIsSubsetPredicate
All Implemented Interfaces:
io.undertow.predicate.Predicate

public class BsonRequestArrayIsSubsetPredicate extends Object implements io.undertow.predicate.Predicate
a predicate that resolve to true if the request content is bson and the property 'key' (can use the dot notation) is an array that is a subset of 'values'
  • Constructor Details

    • BsonRequestArrayIsSubsetPredicate

      public BsonRequestArrayIsSubsetPredicate(String key, String[] values)
  • Method Details

    • resolve

      public boolean resolve(io.undertow.server.HttpServerExchange exchange)
      Specified by:
      resolve in interface io.undertow.predicate.Predicate