Class InPredicate

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

public class InPredicate extends Object implements io.undertow.predicate.Predicate
a predicate that resolve to true if 'value' is in 'array'
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from interface io.undertow.predicate.Predicate

    PREDICATE_CONTEXT
  • Constructor Summary

    Constructors
    Constructor
    Description
    InPredicate(String[] array, io.undertow.attribute.ExchangeAttribute value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    resolve(io.undertow.server.HttpServerExchange exchange)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InPredicate

      public InPredicate(String[] array, io.undertow.attribute.ExchangeAttribute value)
  • Method Details

    • resolve

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