* BAEL-1216: improve tests * BAEL-1448: Update Spring 5 articles to use the release version * Setting up the Maven Wrapper on a maven project * Add Maven Wrapper on spring-boot module * simple add * BAEL-976: Update spring version * BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView)
17 lines
437 B
Java
17 lines
437 B
Java
package com.baeldung.rss;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
@Controller
|
|
@RequestMapping(value = "/rss", produces = "application/*")
|
|
public class ArticleRssController {
|
|
|
|
@RequestMapping(method = RequestMethod.GET)
|
|
public String articleFeed() {
|
|
return "articleFeedView";
|
|
}
|
|
|
|
}
|