## Uses of Interface
io.undertow.predicate.Predicate

Packages that use Predicate
io.undertow
io.undertow.predicate
io.undertow.server
io.undertow.server.handlers
io.undertow.server.handlers.accesslog
io.undertow.server.handlers.builder
io.undertow.server.handlers.encoding
io.undertow.server.handlers.proxy
io.undertow.server.handlers.resource

### Uses of Predicate in io.undertow

Methods in io.undertow with parameters of type Predicate
`static HttpContinueAcceptingHandler` Handlers.`httpContinueAccepting(HttpHandler next, Predicate accept)` Returns a handler that sends back a HTTP 100 continue response if the given predicate resolves to true.
`static PredicateHandler` Handlers.`predicate(Predicate predicate, HttpHandler trueHandler, HttpHandler falseHandler)` Returns a new predicate handler, that will delegate to one of the two provided handlers based on the value of the provided predicate.

### Uses of Predicate in io.undertow.predicate

Classes in io.undertow.predicate that implement Predicate
`class` `AuthenticationRequiredPredicate` Predicate that returns true if authentication is required.
`class` `ContainsPredicate` Returns true if the request header is present and contains one of the strings to match.
`class` `EqualsPredicate` Returns true if all the provided arguments are equal to each other
`class` `ExistsPredicate` Returns true if the given attribute is not null and not an empty string
`class` `FalsePredicate`
`class` `IdempotentPredicate` A predicate that returns true if the request is idempotent according to the HTTP RFC.
`class` `MaxContentSizePredicate` Deprecated.
`class` `MethodPredicate`
`class` `MinContentSizePredicate` Deprecated.
`class` `NotPredicate`
`class` `PathMatchPredicate`
`class` `PathPrefixPredicate`
`class` `PathSuffixPredicate`
`class` `PathTemplatePredicate`
`class` `RegularExpressionPredicate` A predicate that does a regex match against an exchange.
`class` `RequestLargerThanPredicate` Predicate that returns true if the Content-Size of a request is larger than a given size.
`class` `RequestSmallerThanPredicate` Predicate that returns true if the Content-Size of a request is smaller than a given size.
`class` `SecurePredicate`
`class` `TruePredicate`

Methods in io.undertow.predicate that return Predicate
`static Predicate` Predicates.`and(Predicate... predicates)` Creates a predicate that returns true if an only if the given predicates all return true.
`static Predicate` Predicates.`authRequired()` A predicate that returns true if authentication is required
`Predicate` EqualsPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` MaxContentSizePredicate.Builder.`build(Map<String,Object> config)`
`Predicate` ContainsPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` SecurePredicate.Builder.`build(Map<String,Object> config)`
`Predicate` IdempotentPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` MinContentSizePredicate.Builder.`build(Map<String,Object> config)`
`Predicate` AuthenticationRequiredPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` RegularExpressionPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` PathTemplatePredicate.Builder.`build(Map<String,Object> config)`
`Predicate` PathPrefixPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` RequestSmallerThanPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` MethodPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` RequestLargerThanPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` PathSuffixPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` PathMatchPredicate.Builder.`build(Map<String,Object> config)`
`Predicate` PredicateBuilder.`build(Map<String,Object> config)` Creates a predicate
`Predicate` ExistsPredicate.Builder.`build(Map<String,Object> config)`
`static Predicate` Predicates.`contains(ExchangeAttribute attribute, String... values)` Returns true if the given attribute is present and contains one of the provided value.
`static Predicate` Predicates.`equals(ExchangeAttribute[] attributes)` Creates a procedure that returns true if the given ExchangeAttributes are equal.
`static Predicate` Predicates.`exists(ExchangeAttribute attribute)` Return a predicate that will return true if the given attribute is not null and not empty.
`static Predicate` Predicates.`falsePredicate()` Predicate which always returns false.
`static Predicate` Predicates.`maxContentSize(long size)` Deprecated.
`static Predicate` Predicates.`minContentSize(long size)` Deprecated.
`static Predicate` Predicates.`not(Predicate predicate)` Creates a predicate that returns true if the given predicate returns false.
`static Predicate` Predicates.`or(Predicate... predicates)` Creates a predicate that returns true if any of the given predicates return true.
`static Predicate` Predicates.`parse(String predicate)` parses the predicate string, and returns the result, using the TCCL to load predicate definitions
`static Predicate` Predicates.`parse(String predicate, ClassLoader classLoader)` parses the predicate string, and returns the result
`static Predicate` PredicateParser.`parse(String string, ClassLoader classLoader)`
`static Predicate` Predicates.`path(String path)` Creates a predicate that returns true if the given path matches exactly.
`static Predicate` Predicates.`paths(String... paths)` Creates a predicate that returns true if any of the given paths match exactly.
`static Predicate` Predicates.`prefix(String path)` Creates a predicate that returns true if the given relative path starts with the provided prefix.
`static Predicate` Predicates.`prefixes(String... paths)` Creates a predicate that returns true if the relative request path matches any of the provided prefixes.
`static Predicate` Predicates.`regex(ExchangeAttribute attribute, String pattern)` Creates a predicate that matches the given attribute against a regex.
`static Predicate` Predicates.`regex(ExchangeAttribute attribute, String pattern, boolean requireFullMatch)` Creates a predicate that matches the given attribute against a regex.
`static Predicate` Predicates.`regex(String attribute, String pattern, ClassLoader classLoader, boolean requireFullMatch)` Creates a predicate that matches the given attribute against a regex.
`static Predicate` Predicates.`requestLargerThan(long size)` Predicate that returns true if the Content-Size of a request is larger than a given size.
`static Predicate` Predicates.`requestSmallerThan(long size)` Predicate that returns true if the Content-Size of a request is smaller than a given size.
`static Predicate` Predicates.`secure()`
`static Predicate` Predicates.`suffix(String path)` Creates a predicate that returns true if the request path ends with the provided suffix.
`static Predicate` Predicates.`suffixes(String... paths)` Creates a predicate that returns true if the request path ends with any of the provided suffixes.
`static Predicate` Predicates.`truePredicate()` Prediction which always returns true

Methods in io.undertow.predicate with parameters of type Predicate
`PredicatesHandler` PredicatesHandler.`addPredicatedHandler(Predicate predicate, HandlerWrapper handlerWrapper)` Adds a new predicated handler.
`PredicatesHandler` PredicatesHandler.`addPredicatedHandler(Predicate predicate, HandlerWrapper handlerWrapper, HandlerWrapper elseBranch)` Adds a new predicated handler.
`static Predicate` Predicates.`and(Predicate... predicates)` Creates a predicate that returns true if an only if the given predicates all return true.
`static Predicate` Predicates.`not(Predicate predicate)` Creates a predicate that returns true if the given predicate returns false.
`static Predicate` Predicates.`or(Predicate... predicates)` Creates a predicate that returns true if any of the given predicates return true.

### Uses of Predicate in io.undertow.server

Methods in io.undertow.server with parameters of type Predicate
`RoutingHandler` RoutingHandler.`add(HttpString method, String template, Predicate predicate, HttpHandler handler)`
`RoutingHandler` RoutingHandler.`add(String method, String template, Predicate predicate, HttpHandler handler)`
`RoutingHandler` RoutingHandler.`delete(String template, Predicate predicate, HttpHandler handler)`
`RoutingHandler` RoutingHandler.`get(String template, Predicate predicate, HttpHandler handler)`
`RoutingHandler` RoutingHandler.`post(String template, Predicate predicate, HttpHandler handler)`
`RoutingHandler` RoutingHandler.`put(String template, Predicate predicate, HttpHandler handler)`

### Uses of Predicate in io.undertow.server.handlers

Methods in io.undertow.server.handlers that return Predicate
`Predicate` PredicateHandler.`getPredicate()`

Methods in io.undertow.server.handlers with parameters of type Predicate
`PredicateHandler` PredicateHandler.`setPredicate(Predicate predicate)`

Constructors in io.undertow.server.handlers with parameters of type Predicate
Constructor and Description
`ConnectHandler(HttpHandler next, Predicate allowed)`
`HttpContinueAcceptingHandler(HttpHandler next, Predicate accept)`
`PredicateHandler(Predicate predicate, HttpHandler trueHandler, HttpHandler falseHandler)`
`Wrapper(Predicate predicate)`

### Uses of Predicate in io.undertow.server.handlers.accesslog

Constructors in io.undertow.server.handlers.accesslog with parameters of type Predicate
Constructor and Description
`AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ClassLoader classLoader, Predicate predicate)`
`AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ExchangeAttribute attribute, Predicate predicate)`

### Uses of Predicate in io.undertow.server.handlers.builder

Methods in io.undertow.server.handlers.builder that return Predicate
`Predicate` PredicatedHandler.`getPredicate()`
`static Predicate` PredicatedHandlersParser.`parsePredicate(String string, ClassLoader classLoader)`

Constructors in io.undertow.server.handlers.builder with parameters of type Predicate
Constructor and Description
`PredicatedHandler(Predicate predicate, HandlerWrapper handler)`
`PredicatedHandler(Predicate predicate, HandlerWrapper handler, HandlerWrapper elseHandler)`

### Uses of Predicate in io.undertow.server.handlers.encoding

Methods in io.undertow.server.handlers.encoding with parameters of type Predicate
`ContentEncodingRepository` ContentEncodingRepository.`addEncodingHandler(String encoding, ContentEncodingProvider encoder, int priority, Predicate enabledPredicate)`

Constructors in io.undertow.server.handlers.encoding with parameters of type Predicate
Constructor and Description
`ContentEncodedResourceManager(Path encodedResourcesRoot, CachingResourceManager encodedResourceManager, ContentEncodingRepository contentEncodingRepository, int minResourceSize, int maxResourceSize, Predicate encodingAllowed)`

### Uses of Predicate in io.undertow.server.handlers.proxy

Methods in io.undertow.server.handlers.proxy that return Predicate
`Predicate` ProxyHandler.`getIdempotentRequestPredicate()`
`Predicate` ProxyHandler.Builder.`getIdempotentRequestPredicate()`

Methods in io.undertow.server.handlers.proxy with parameters of type Predicate
`ProxyHandler.Builder` ProxyHandler.Builder.`setIdempotentRequestPredicate(Predicate idempotentRequestPredicate)`

### Uses of Predicate in io.undertow.server.handlers.resource

Methods in io.undertow.server.handlers.resource that return Predicate
`Predicate` ResourceHandler.`getAllowed()`
`Predicate` ResourceHandler.`getCachable()`

Methods in io.undertow.server.handlers.resource with parameters of type Predicate
`ResourceHandler` ResourceHandler.`setAllowed(Predicate allowed)`
`ResourceHandler` ResourceHandler.`setCachable(Predicate cachable)`