Skip to content

docs: add ReadBody route predicate factory documentation#4138

Closed
pachat-pacifique wants to merge 1 commit intospring-cloud:mainfrom
pachat-pacifique:docs/3569-read-body-route-predicate-factory
Closed

docs: add ReadBody route predicate factory documentation#4138
pachat-pacifique wants to merge 1 commit intospring-cloud:mainfrom
pachat-pacifique:docs/3569-read-body-route-predicate-factory

Conversation

@pachat-pacifique
Copy link
Copy Markdown

What this PR does

Adds missing documentation for ReadBodyRoutePredicateFactory to the
request predicate factories reference guide.

Why

The factory exists in the codebase but was completely absent from the
documentation, leaving users unaware of how to use it.

What is documented

  • How the predicate works (reads and caches the request body, applies a user-provided lambda)
  • Java DSL usage example
  • Explicit note that YAML configuration is not supported since the predicate
    parameter requires a Java Predicate lambda

Fixes #3569

Adds documentation for ReadBodyRoutePredicateFactory which was missing
from the request predicate factories reference guide.

Documents Java DSL usage and explicitly notes that YAML configuration
is not supported since the predicate parameter requires a Java lambda.

Fixes spring-cloud#3569

Signed-off-by: pachat <pacifiquepachat.hategekimana@risa.gov.rw>
@github-project-automation github-project-automation Bot moved this to Todo in 2025.1.2 Apr 8, 2026
@github-project-automation github-project-automation Bot moved this to Todo in 2025.0.3 Apr 8, 2026
@spencergibb spencergibb moved this from Todo to In Progress in 2025.0.3 Apr 8, 2026
@spencergibb spencergibb moved this from Todo to In Progress in 2025.1.2 Apr 8, 2026
@spencergibb spencergibb added this to the 4.3.5 milestone Apr 8, 2026
@spencergibb
Copy link
Copy Markdown
Member

Cherry-picked into 4.3.x via 6100cc4 and merged forward to main

@spencergibb spencergibb closed this Apr 8, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in 2025.0.3 Apr 8, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in 2025.1.2 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Documentation has no ReadBodyRoutePredicateFactory

3 participants