Search in sources :

Example 1 with JsonChannelHttpMessageConverter

use of com.baeldung.spring.controller.rss.JsonChannelHttpMessageConverter in project tutorials by eugenp.

the class ApplicationConfiguration method configureMessageConverters.

@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
    converters.add(new StringHttpMessageConverter());
    converters.add(new RssChannelHttpMessageConverter());
    converters.add(new JsonChannelHttpMessageConverter());
    super.configureMessageConverters(converters);
}
Also used : JsonChannelHttpMessageConverter(com.baeldung.spring.controller.rss.JsonChannelHttpMessageConverter) RssChannelHttpMessageConverter(org.springframework.http.converter.feed.RssChannelHttpMessageConverter) StringHttpMessageConverter(org.springframework.http.converter.StringHttpMessageConverter)

Aggregations

JsonChannelHttpMessageConverter (com.baeldung.spring.controller.rss.JsonChannelHttpMessageConverter)1 StringHttpMessageConverter (org.springframework.http.converter.StringHttpMessageConverter)1 RssChannelHttpMessageConverter (org.springframework.http.converter.feed.RssChannelHttpMessageConverter)1