public abstract class BaseMVCResourceCommand extends java.lang.Object implements MVCResourceCommand
EMPTY| Constructor and Description |
|---|
BaseMVCResourceCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doServeResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected javax.portlet.PortletConfig |
getPortletConfig(javax.portlet.ResourceRequest resourceRequest) |
protected javax.portlet.PortletRequestDispatcher |
getPortletRequestDispatcher(javax.portlet.ResourceRequest resourceRequest,
java.lang.String path) |
protected void |
include(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
java.lang.String jspPath) |
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
MVCResourceCommandMVCPortlet to allow the portlet to serve a resource.serveResource in interface MVCResourceCommandresourceRequest - the resource requestresourceResponse - the resource responsetrue if an error occurs in serving the resource;
false otherwisejavax.portlet.PortletException - if a portlet exception occurredprotected abstract void doServeResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.Exception
java.lang.Exceptionprotected javax.portlet.PortletConfig getPortletConfig(javax.portlet.ResourceRequest resourceRequest)
protected javax.portlet.PortletRequestDispatcher getPortletRequestDispatcher(javax.portlet.ResourceRequest resourceRequest,
java.lang.String path)
protected void include(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
java.lang.String jspPath)
throws java.io.IOException,
javax.portlet.PortletException
java.io.IOExceptionjavax.portlet.PortletException