Class CookieRoutePredicateFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<CookieRoutePredicateFactory.Config>
org.springframework.cloud.gateway.handler.predicate.AbstractRoutePredicateFactory<CookieRoutePredicateFactory.Config>
org.springframework.cloud.gateway.handler.predicate.CookieRoutePredicateFactory
- All Implemented Interfaces:
RoutePredicateFactory<CookieRoutePredicateFactory.Config>, Configurable<CookieRoutePredicateFactory.Config>, ShortcutConfigurable
public class CookieRoutePredicateFactory
extends AbstractRoutePredicateFactory<CookieRoutePredicateFactory.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
FieldsFields 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
-
NAME_KEY
-
REGEXP_KEY
-
-
Constructor Details
-
CookieRoutePredicateFactory
public CookieRoutePredicateFactory()
-
-
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(CookieRoutePredicateFactory.Config config)
-