Class BsonRequestPropEqualsPredicate
java.lang.Object
org.restheart.security.predicates.BsonRequestPropEqualsPredicate
- All Implemented Interfaces:
io.undertow.predicate.Predicate
public class BsonRequestPropEqualsPredicate
extends Object
implements io.undertow.predicate.Predicate
a predicate that resolve to true if the request content is bson and
the value of the property 'key' (can use the dot notation) is equal to 'value'
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.undertow.predicate.Predicate
PREDICATE_CONTEXT -
Constructor Summary
ConstructorsConstructorDescriptionBsonRequestPropEqualsPredicate(String key, io.undertow.attribute.ExchangeAttribute value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanresolve(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
BsonRequestPropEqualsPredicate
-
-
Method Details
-
resolve
public boolean resolve(io.undertow.server.HttpServerExchange exchange) - Specified by:
resolvein interfaceio.undertow.predicate.Predicate
-