Skip to content

Clarify use of MultipartBodyBuilder with RestTemplate #23295

@bclozel

Description

@bclozel

As seen in spring-projects/spring-boot#12579 and as shown in the reference documentation, developers are using MultipartBodyBuilder with RestTemplate in a pure Spring MVC application. In that context, the reactive-streams dependency bringing Publisher is not on classpath by default.

It seems that the MultipartBodyBuilder implementation requires that class to be on classpath.

We should make that dependency optional or avoid documenting this option with RestTemplate.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions