public interface ResourceServingPortlet
ResourceServingPortletinterface allows serving resources through the portlet.
The portlet container must call this method for links created by
If the portlet creates resource URLs with
it must implement this lifecycle method.
void serveResource(ResourceRequest request, ResourceResponse response) throws PortletException, IOException
request- the resource request
response- the resource response
PortletException- if the portlet has problems fulfilling the rendering request
UnavailableException- if the portlet is unavailable to perform render at this time
PortletSecurityException- if the portlet cannot fullfill this request because of security reasons
IOException- if the streaming causes an I/O problem
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.