Skip to content

Provide getter to expose the DispatcherServlet instance used in MockMvc [SPR-16924] #21463

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-16924 and commented

Originally reported in Spring Boot #13241 this is for cases where a request handling component such as an annotated controller happens to delegate to the DispatcherServlet at runtime, and therefore needs to be injected with it.

The specific use case is a technique that relies on batching multiple requests and responses through the "multipart/mixed" format, as in this Google API for example.


Affects: 5.0.6

Reference URL: spring-projects/spring-boot#13241

Referenced from: commits a312049

4 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions