Package com.day.cq.commons.servlets
Class FeedRendererServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- com.day.cq.commons.servlets.FeedRendererServlet
-
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
@SlingServlet(extensions="xml", selectors={"feed","feedentry"}, resourceTypes="sling/servlet/default", metatype=false, generateService=true) public class FeedRendererServlet extends SlingSafeMethodsServlet
TheFeedRendererServlet
renders the current resource as an Atom or RSS feed, depending on the value of the second selector. If no second selector is passed, it defaults to Atom.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_NO_INCLUDE
Request attribute to use if whole feed should be rendered regardless of any other request attribute.
-
Constructor Summary
Constructors Constructor Description FeedRendererServlet()
-
Method Summary
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
ATTR_NO_INCLUDE
public static final java.lang.String ATTR_NO_INCLUDE
Request attribute to use if whole feed should be rendered regardless of any other request attribute.- See Also:
- Constant Field Values
-
-