Class BetweenRoutePredicateFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<BetweenRoutePredicateFactory.Config>
org.springframework.cloud.gateway.handler.predicate.AbstractRoutePredicateFactory<BetweenRoutePredicateFactory.Config>
org.springframework.cloud.gateway.handler.predicate.BetweenRoutePredicateFactory
- All Implemented Interfaces:
RoutePredicateFactory<BetweenRoutePredicateFactory.Config>, Configurable<BetweenRoutePredicateFactory.Config>, ShortcutConfigurable
public class BetweenRoutePredicateFactory
extends AbstractRoutePredicateFactory<BetweenRoutePredicateFactory.Config>
- Author:
- Spencer Gibb
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ShortcutConfigurable
ShortcutConfigurable.GatewayBeanFactoryResolver, ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDateTime 1 key.static final StringDateTime 2 key.Fields inherited from interface RoutePredicateFactory
PATTERN_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPredicate<org.springframework.web.server.ServerWebExchange> Returns hints about the number of args and the order for shortcut parsing.Methods inherited from class AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface RoutePredicateFactory
apply, applyAsync, applyAsync, beforeApply, getConfigClass, name, newConfigMethods inherited from interface ShortcutConfigurable
shortcutFieldPrefix, shortcutType
-
Field Details
-
DATETIME1_KEY
-
DATETIME2_KEY
-
-
Constructor Details
-
BetweenRoutePredicateFactory
public BetweenRoutePredicateFactory()
-
-
Method Details
-
shortcutFieldOrder
Description copied from interface:ShortcutConfigurableReturns hints about the number of args and the order for shortcut parsing.- Returns:
- the list of hints
-
apply
public Predicate<org.springframework.web.server.ServerWebExchange> apply(BetweenRoutePredicateFactory.Config config)
-