Class BsonRequestBlacklistPredicate
java.lang.Object
org.restheart.security.predicates.BsonRequestBlacklistPredicate
- All Implemented Interfaces:
io.undertow.predicate.Predicate
public class BsonRequestBlacklistPredicate
extends Object
implements io.undertow.predicate.Predicate
a predicate that resolve to true if the request content is bson and
all keys in the request content are mot in the specified blacklist
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.undertow.predicate.Predicate
PREDICATE_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanresolve(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
BsonRequestBlacklistPredicate
-
-
Method Details
-
resolve
public boolean resolve(io.undertow.server.HttpServerExchange exchange) - Specified by:
resolvein interfaceio.undertow.predicate.Predicate
-