public class HeaderRoutePredicateFactory extends Object implements RoutePredicateFactory
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_KEY |
static String |
REGEXP_KEY |
PATTERN_KEY
Constructor and Description |
---|
HeaderRoutePredicateFactory() |
Modifier and Type | Method and Description |
---|---|
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(String header) |
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(String header,
String regexp) |
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(org.springframework.tuple.Tuple args) |
List<String> |
argNames()
Returns hints about the number of args and the order for shortcut parsing.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
validate, validateArgs, validateMin
public static final String HEADER_KEY
public static final String REGEXP_KEY
public List<String> argNames()
ArgumentHints
argNames
in interface ArgumentHints
public Predicate<org.springframework.web.server.ServerWebExchange> apply(org.springframework.tuple.Tuple args)
apply
in interface RoutePredicateFactory
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.