Repository navigation
Update WebMvcConfigurationSupport.java - #70
allnightlong wants to merge 1 commit into
Conversation
…nfig/annotation/WebMvcConfigurationSupport.java
|
Thanks for the submission. Please read and follow the instructions in the contributor guidelines and we'll take a look at this. |
|
Could you provide a little more detail? Actually open a JIRA ticket and elaborate on your scenario. The Atom and RSS converters support requests for Accept type of Things can get more complicated if the Accept header includes a number of media types including public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
} |
|
OK I see the ticket now https://jira.springsource.org/browse/SPR-9336 and I've added my comments there. |
|
Here is jira ticket https://jira.springsource.org/browse/SPR-9336 My main point is: when I'm returning com.sun.syndication.feed.rss.Channel from controller method, it should convert to rss view by default. It may also convert to json, but only if I set corresponding accept-type. Currently in coverter list MappingJacksonHttpMessageConverter stands before RssChannelHttpMessageConverter, so by default com.sun.syndication.feed.rss.Channel converting to json rether rss. |
|
Closing this pull request as the submitter indicated he won't be signing the SpringSource CLA this time around and making the other necessary modifications as specified in the contributor guidelines. @rstoyanchev will take the implementation from here in the linked JIRA issue (which is scheduled for 3.2 M1). In any case, thanks @allnightlong for bringing this to our attention! |
Some important issues have been fixed in recent SNAPSHOT versions. See spring-projects#78 and spring-projects#70
Some important issues have been fixed in recent SNAPSHOT versions. See spring-projects#78 and spring-projects#70
We should place rss & atom converters before jackson converter, because currently com.sun.syndication.feed.rss.Channel and com.sun.syndication.feed.atom.Feed and converted to json by default which isn't quite right and intuitive.