Class CloudFoundryRouteServiceRoutePredicateFactory
- java.lang.Object
-
- org.springframework.cloud.gateway.support.AbstractConfigurable<C>
-
- org.springframework.cloud.gateway.handler.predicate.AbstractRoutePredicateFactory<Object>
-
- org.springframework.cloud.gateway.handler.predicate.CloudFoundryRouteServiceRoutePredicateFactory
-
- All Implemented Interfaces:
RoutePredicateFactory<Object>,Configurable<Object>,ShortcutConfigurable
public class CloudFoundryRouteServiceRoutePredicateFactory extends AbstractRoutePredicateFactory<Object>
Creates a predicate which indicates if the request is intended for a Cloud Foundry Route Service.- Author:
- Andrew Fitzgerald
- See Also:
- Cloud Foundry Route Service documentation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType
-
-
Field Summary
Fields Modifier and Type Field Description static StringX_CF_FORWARDED_URLForwarded URL header name.static StringX_CF_PROXY_METADATAProxy metadata header name.static StringX_CF_PROXY_SIGNATUREProxy signature header name.-
Fields inherited from interface org.springframework.cloud.gateway.handler.predicate.RoutePredicateFactory
PATTERN_KEY
-
-
Constructor Summary
Constructors Constructor Description CloudFoundryRouteServiceRoutePredicateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicate<org.springframework.web.server.ServerWebExchange>apply(Object unused)-
Methods inherited from class org.springframework.cloud.gateway.support.AbstractConfigurable
getConfigClass, newConfig, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.gateway.handler.predicate.RoutePredicateFactory
apply, applyAsync, applyAsync, beforeApply, getConfigClass, name, newConfig
-
Methods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
-
-
-
Field Detail
-
X_CF_FORWARDED_URL
public static final String X_CF_FORWARDED_URL
Forwarded URL header name.- See Also:
- Constant Field Values
-
X_CF_PROXY_SIGNATURE
public static final String X_CF_PROXY_SIGNATURE
Proxy signature header name.- See Also:
- Constant Field Values
-
X_CF_PROXY_METADATA
public static final String X_CF_PROXY_METADATA
Proxy metadata header name.- See Also:
- Constant Field Values
-
-