Package org.apache.syncope.sra
Class RouteProvider
java.lang.Object
org.apache.syncope.sra.RouteProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final String
protected SyncopeClient
protected final ConfigurableApplicationContext
protected static final Logger
protected final List
<SRARouteTO> protected final ServiceOps
protected final boolean
-
Constructor Summary
ConstructorDescriptionRouteProvider
(ServiceOps serviceOps, ConfigurableApplicationContext ctx, String anonymousUser, String anonymousKey, boolean useGZIPCompression) -
Method Summary
Modifier and TypeMethodDescriptionList
<org.springframework.cloud.gateway.route.Route.AsyncBuilder> fetch()
protected org.springframework.cloud.gateway.filter.GatewayFilter
toFilter
(SRARouteTO route, SRARouteFilter gwfilter) protected org.springframework.cloud.gateway.handler.AsyncPredicate
<ServerWebExchange> toPredicate
(SRARoutePredicate gwpredicate, boolean negate) protected org.springframework.cloud.gateway.route.Route.AsyncBuilder
toRoute
(SRARouteTO gwroute)
-
Field Details
-
LOG
-
serviceOps
-
ctx
-
anonymousUser
-
anonymousKey
-
useGZIPCompression
protected final boolean useGZIPCompression -
client
-
routeTOs
-
-
Constructor Details
-
RouteProvider
public RouteProvider(ServiceOps serviceOps, ConfigurableApplicationContext ctx, String anonymousUser, String anonymousKey, boolean useGZIPCompression)
-
-
Method Details
-
toFilter
protected org.springframework.cloud.gateway.filter.GatewayFilter toFilter(SRARouteTO route, SRARouteFilter gwfilter) throws ClassNotFoundException, NumberFormatException -
toPredicate
protected org.springframework.cloud.gateway.handler.AsyncPredicate<ServerWebExchange> toPredicate(SRARoutePredicate gwpredicate, boolean negate) throws ClassNotFoundException, NumberFormatException -
toRoute
-
fetch
-
getRouteTOs
-