public class RegularExpressionPredicate extends Object implements Predicate
By default this match is done against the relative URI, however it is possible to set it to match against other exchange attributes.
Modifier and Type | Class and Description |
---|---|
static class | RegularExpressionPredicate.Builder |
PREDICATE_CONTEXT
Constructor and Description |
---|
RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute) |
RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch) |
RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch, boolean caseSensitive) |
public RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch, boolean caseSensitive)
public RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch)
public RegularExpressionPredicate(String regex, ExchangeAttribute matchAttribute)
public boolean resolve(HttpServerExchange value)
Copyright © 2017 JBoss by Red Hat. All rights reserved.