public abstract class BaseRSSMVCResourceCommand extends Object implements MVCResourceCommand
EMPTY
Constructor and Description |
---|
BaseRSSMVCResourceCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
getRSS(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected boolean |
isRSSFeedsEnabled(javax.portlet.ResourceRequest resourceRequest) |
boolean |
serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
Invoked by
MVCPortlet to allow the portlet to serve a resource. |
public boolean serveResource(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws javax.portlet.PortletException
MVCResourceCommand
MVCPortlet
to allow the portlet to serve a resource.serveResource
in interface MVCResourceCommand
resourceRequest
- the resource requestresourceResponse
- the resource responsetrue
if an error occurs in serving the resource;
false
otherwisejavax.portlet.PortletException
protected abstract byte[] getRSS(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws Exception
Exception
protected boolean isRSSFeedsEnabled(javax.portlet.ResourceRequest resourceRequest)