Skip to content
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

Jackson2JsonEncoder should stream custom streaming types [SPR-15727] #20283

Closed
spring-projects-issues opened this issue Jul 2, 2017 · 0 comments
Closed

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 2, 2017

Piotr Wielgolaski opened SPR-15727 and commented

At the moment we only stream hardcoded type MediaType.APPLICATION_STREAM_JSON
https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonEncoder.java#L127

In fact there is already list of streaming mediatype setStreamingMediaTypes
https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonEncoder.java#L96


Affects: 5.0 RC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants