Class RouteProvider


  • public class RouteProvider
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RouteProvider​(ServiceOps serviceOps, org.springframework.context.ConfigurableApplicationContext ctx, String anonymousUser, String anonymousKey, boolean useGZIPCompression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.springframework.cloud.gateway.route.Route.AsyncBuilder> fetch()  
      List<org.apache.syncope.common.lib.to.SRARouteTO> getRouteTOs()  
      protected org.springframework.cloud.gateway.filter.GatewayFilter toFilter​(org.apache.syncope.common.lib.to.SRARouteTO route, org.apache.syncope.common.lib.types.SRARouteFilter gwfilter)  
      protected org.springframework.cloud.gateway.handler.AsyncPredicate<org.springframework.web.server.ServerWebExchange> toPredicate​(org.apache.syncope.common.lib.types.SRARoutePredicate gwpredicate, boolean negate)  
      protected org.springframework.cloud.gateway.route.Route.AsyncBuilder toRoute​(org.apache.syncope.common.lib.to.SRARouteTO gwroute)  
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • serviceOps

        protected final ServiceOps serviceOps
      • ctx

        protected final org.springframework.context.ConfigurableApplicationContext ctx
      • anonymousUser

        protected final String anonymousUser
      • anonymousKey

        protected final String anonymousKey
      • useGZIPCompression

        protected final boolean useGZIPCompression
      • client

        protected org.apache.syncope.client.lib.SyncopeClient client
      • routeTOs

        protected final List<org.apache.syncope.common.lib.to.SRARouteTO> routeTOs
    • Constructor Detail

      • RouteProvider

        public RouteProvider​(ServiceOps serviceOps,
                             org.springframework.context.ConfigurableApplicationContext ctx,
                             String anonymousUser,
                             String anonymousKey,
                             boolean useGZIPCompression)
    • Method Detail

      • toRoute

        protected org.springframework.cloud.gateway.route.Route.AsyncBuilder toRoute​(org.apache.syncope.common.lib.to.SRARouteTO gwroute)
      • fetch

        public List<org.springframework.cloud.gateway.route.Route.AsyncBuilder> fetch()
      • getRouteTOs

        public List<org.apache.syncope.common.lib.to.SRARouteTO> getRouteTOs()