Skip to content

Add dedicated multipart support for MockMvcTester #33027

@snicoll

Description

@snicoll

While writing the documentation for the AssertJ support for MockMvc, I came to realize that there is a separate builder that is specific to Multipart requests.

There is always the escape hatch of using perform and reuse whatever was build with the existing API but dedicated support would be nice.

I am not a huge fan of a multipart as the same level as get, post, etc. But triggering multipart in the middle of the chain means we need to provide a copy constructor for the builder.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions