public class MethodRoutePredicateFactory extends Object implements RoutePredicateFactory
Modifier and Type | Field and Description |
---|---|
static String |
METHOD_KEY |
PATTERN_KEY
Constructor and Description |
---|
MethodRoutePredicateFactory() |
Modifier and Type | Method and Description |
---|---|
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(org.springframework.http.HttpMethod httpMethod) |
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(String method) |
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 METHOD_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
public Predicate<org.springframework.web.server.ServerWebExchange> apply(org.springframework.http.HttpMethod httpMethod)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.