Class ReadBodyRoutePredicateFactory

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

public class ReadBodyRoutePredicateFactory extends AbstractRoutePredicateFactory<ReadBodyRoutePredicateFactory.Config>
Predicate that reads the body and applies a user provided predicate to run on the body. The body is cached in memory so that possible subsequent calls to the predicate do not need to deserialize again.
  • Field Details

    • log

      protected static final org.apache.commons.logging.Log log
  • Constructor Details

    • ReadBodyRoutePredicateFactory

      public ReadBodyRoutePredicateFactory()
    • ReadBodyRoutePredicateFactory

      public ReadBodyRoutePredicateFactory(List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders)
  • Method Details