Provide getter to expose the DispatcherServlet instance used in MockMvc [SPR-16924] #21463
Labels
in: test
Issues in the test module
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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
The text was updated successfully, but these errors were encountered: