Spring Framework AbstractAtomFeedView - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework AbstractAtomFeedView class.

This code example shows how to use the following methods:
package org.springframework.issues; 
 
import com.sun.syndication.feed.atom.*; 
import org.springframework.web.servlet.view.feed.AbstractAtomFeedView; 
 
import javax.servlet.http.HttpServletRequest; 
import javax.servlet.http.HttpServletResponse; 
import java.util.*; 
 
public class BlogPostAtomViewer extends AbstractAtomFeedView { 
 
	@Override 
	protected void buildFeedMetadata(Map<String, Object> model, Feed feed, HttpServletRequest request) { 
		feed.setTitle("Test Feed"); 
		feed.setIcon("http://www.example.com/favicon.ico"); 
		super.buildFeedMetadata(model, feed, request); 
	} 
 
 
	@Override 

5
CodeRank