public class FeedController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
FeedController(List<INewsEntry> newsEntries,
IAppConfig appConfig)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateFeed(String feedType) |
protected IAppConfig |
getAppConfig() |
protected org.spincast.shaded.org.apache.commons.lang3.time.FastDateFormat |
getFeedDateFormatter() |
protected List<INewsEntry> |
getNewsEntries() |
void |
rss(IAppRequestContext context) |
@Inject public FeedController(List<INewsEntry> newsEntries, IAppConfig appConfig)
protected List<INewsEntry> getNewsEntries()
protected IAppConfig getAppConfig()
protected org.spincast.shaded.org.apache.commons.lang3.time.FastDateFormat getFeedDateFormatter()
public void rss(IAppRequestContext context)
Copyright © 2016. All rights reserved.