Interface RoutePredicateFactory<C>

All Superinterfaces:
Configurable<C>, ShortcutConfigurable
All Known Implementing Classes:
AbstractRoutePredicateFactory, AfterRoutePredicateFactory, BeforeRoutePredicateFactory, BetweenRoutePredicateFactory, CloudFoundryRouteServiceRoutePredicateFactory, CookieRoutePredicateFactory, HeaderRoutePredicateFactory, HostRoutePredicateFactory, MethodRoutePredicateFactory, PathRoutePredicateFactory, QueryRoutePredicateFactory, ReadBodyRoutePredicateFactory, RemoteAddrRoutePredicateFactory, VersionRoutePredicateFactory, WeightRoutePredicateFactory, XForwardedRemoteAddrRoutePredicateFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RoutePredicateFactory<C> extends ShortcutConfigurable, Configurable<C>
Author:
Spencer Gibb
  • Field Details

  • Method Details

    • apply

      default Predicate<org.springframework.web.server.ServerWebExchange> apply(Consumer<C> consumer)
    • applyAsync

      default AsyncPredicate<org.springframework.web.server.ServerWebExchange> applyAsync(Consumer<C> consumer)
    • getConfigClass

      default Class<C> getConfigClass()
      Specified by:
      getConfigClass in interface Configurable<C>
    • newConfig

      default C newConfig()
      Specified by:
      newConfig in interface Configurable<C>
    • beforeApply

      default void beforeApply(C config)
    • apply

      Predicate<org.springframework.web.server.ServerWebExchange> apply(C config)
    • applyAsync

      default AsyncPredicate<org.springframework.web.server.ServerWebExchange> applyAsync(C config)
    • name

      default String name()