Skip to content

Chained API for form and multipart data in BodyInserters [SPR-16133] #20681

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-16133 and commented

The ability to build the form inline:

BodyInserters.fromFormData("a", "a1").param("b", "b1", "b2")

Or multipart data:

BodyInserters.fromMultipartData("foo", new Foo()).param("b", new HttpEntity(...))

Each call to param returns an inserter that's ready for use, either by creating a new one with the additional parameter, or by modifying the existing one.


Affects: 5.0.1

This issue is a sub-task of #20666

Referenced from: commits a58002a

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions