Top Description Fields Methods
io.undertow.predicate

public Interface Predicate

Known Direct Implementers
io.undertow.predicate.RegularExpressionPredicate, io.undertow.predicate.RequestLargerThanPredicate, io.undertow.predicate.RequestSmallerThanPredicate, io.undertow.predicate.SecurePredicate, io.undertow.predicate.TruePredicate, io.undertow.predicate.AndPredicate, io.undertow.predicate.AuthenticationRequiredPredicate, io.undertow.predicate.ContainsPredicate, io.undertow.predicate.EqualsPredicate, io.undertow.predicate.ExistsPredicate, io.undertow.predicate.FalsePredicate, io.undertow.predicate.IdempotentPredicate, io.undertow.predicate.MaxContentSizePredicate, io.undertow.predicate.MethodPredicate, io.undertow.predicate.MinContentSizePredicate, io.undertow.predicate.NotPredicate, io.undertow.predicate.OrPredicate, io.undertow.predicate.PathMatchPredicate, io.undertow.predicate.PathPrefixPredicate, io.undertow.predicate.PathSuffixPredicate, io.undertow.predicate.PathTemplatePredicate
Imports
java.util.Map, io.undertow.server.HttpServerExchange, io.undertow.util.AttachmentKey

A predicate. This is mainly used by handlers as a way to decide if a request should have certain processing applied, based on the given conditions.
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
public static final AttachmentKey<Map<String, Object>>
PREDICATE_CONTEXT

Attachment key that can be used to store additional predicate context that allows the predicates to store additional information.

Method Summary

Modifier and TypeMethod and Description
public boolean

Field Detail

PREDICATE_CONTEXTback to summary
public static final AttachmentKey<Map<String, Object>> PREDICATE_CONTEXT

Attachment key that can be used to store additional predicate context that allows the predicates to store additional information. For example a predicate that matches on a regular expression can place additional information about match groups into the predicate context. Predicates must not rely on this attachment being present, it will only be present if the predicate is being used in a situation where this information may be required by later handlers.

Method Detail

resolveback to summary
public boolean resolve(final HttpServerExchange value)