Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jun 8, 2018 · 0 comments
Assignees
Labels
in: test Issues in the test module in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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

@spring-projects-issues spring-projects-issues added in: test Issues in the test module type: enhancement A general enhancement in: web Issues in web modules (web, webmvc, webflux, websocket) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.1 RC1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants