Class PathRoutePredicateFactory

All Implemented Interfaces:
RoutePredicateFactory<PathRoutePredicateFactory.Config>, Configurable<PathRoutePredicateFactory.Config>, ShortcutConfigurable

public class PathRoutePredicateFactory extends AbstractRoutePredicateFactory<PathRoutePredicateFactory.Config>
Author:
Spencer Gibb, Dhawal Kapil, FuYiNan Guo
  • Constructor Details

    • PathRoutePredicateFactory

      public PathRoutePredicateFactory(org.springframework.boot.webflux.autoconfigure.WebFluxProperties webFluxProperties)
  • Method Details

    • setPathPatternParser

      public void setPathPatternParser(org.springframework.web.util.pattern.PathPatternParser pathPatternParser)
    • shortcutFieldOrder

      public List<String> shortcutFieldOrder()
      Description copied from interface: ShortcutConfigurable
      Returns hints about the number of args and the order for shortcut parsing.
      Returns:
      the list of hints
    • shortcutType

      public ShortcutConfigurable.ShortcutType shortcutType()
    • apply

      public Predicate<org.springframework.web.server.ServerWebExchange> apply(PathRoutePredicateFactory.Config config)