Interface RoutePredicateFactory<C>
- All Superinterfaces:
Configurable<C>,ShortcutConfigurable
- All Known Implementing Classes:
AbstractRoutePredicateFactory,AfterRoutePredicateFactory,BeforeRoutePredicateFactory,BetweenRoutePredicateFactory,CloudFoundryRouteServiceRoutePredicateFactory,CookieRoutePredicateFactory,HeaderRoutePredicateFactory,HostRoutePredicateFactory,MethodRoutePredicateFactory,PathRoutePredicateFactory,QueryRoutePredicateFactory,ReadBodyRoutePredicateFactory,RemoteAddrRoutePredicateFactory,WeightRoutePredicateFactory,XForwardedRemoteAddrRoutePredicateFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface RoutePredicateFactory<C>
extends ShortcutConfigurable, Configurable<C>
- Author:
- Spencer Gibb
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionPredicate<org.springframework.web.server.ServerWebExchange>default Predicate<org.springframework.web.server.ServerWebExchange>default AsyncPredicate<org.springframework.web.server.ServerWebExchange>applyAsync(C config) default AsyncPredicate<org.springframework.web.server.ServerWebExchange>applyAsync(Consumer<C> consumer) default voidbeforeApply(C config) default Stringname()default CMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
Field Details
-
PATTERN_KEY
Pattern key.- See Also:
-
-
Method Details
-
apply
-
applyAsync
default AsyncPredicate<org.springframework.web.server.ServerWebExchange> applyAsync(Consumer<C> consumer) -
getConfigClass
- Specified by:
getConfigClassin interfaceConfigurable<C>
-
newConfig
- Specified by:
newConfigin interfaceConfigurable<C>
-
beforeApply
-
apply
-
applyAsync
-
name
-