Class RemoteAddrRoutePredicateFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<C>
org.springframework.cloud.gateway.handler.predicate.AbstractRoutePredicateFactory<RemoteAddrRoutePredicateFactory.Config>
org.springframework.cloud.gateway.handler.predicate.RemoteAddrRoutePredicateFactory
- All Implemented Interfaces:
RoutePredicateFactory<RemoteAddrRoutePredicateFactory.Config>,Configurable<RemoteAddrRoutePredicateFactory.Config>,ShortcutConfigurable
public class RemoteAddrRoutePredicateFactory
extends AbstractRoutePredicateFactory<RemoteAddrRoutePredicateFactory.Config>
- Author:
- Spencer Gibb
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
Fields inherited from interface org.springframework.cloud.gateway.handler.predicate.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 org.springframework.cloud.gateway.support.AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.cloud.gateway.handler.predicate.RoutePredicateFactory
apply, applyAsync, applyAsync, beforeApply, getConfigClass, name, newConfigMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldPrefix
-
Constructor Details
-
RemoteAddrRoutePredicateFactory
public RemoteAddrRoutePredicateFactory()
-
-
Method Details
-
shortcutType
-
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(RemoteAddrRoutePredicateFactory.Config config)
-