com.ibm.portal.resolver.service
Interface PortletResourcePocService
- All Superinterfaces:
- Disposable, Identifiable, PocService, PortletPocService, PortletRenderPocService
public interface PortletResourcePocService
- extends PortletRenderPocService
Version of the PortletPocService that can be used in a resource
request of a JSR286 compatible portlet.
This service must be disposed after it has been retrieved via its home
interface.
- Since:
- 6.1.0
- See Also:
- Disposable
serveResource
boolean serveResource()
throws PortletException,
java.io.IOException
- Implements the
ResourceServingPortlet#serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse)
method for a request that contains the POC URI as the resourceID.
Compatible ResourceURLs can be generates using the
PortletRenderPocService.createResourceURL(java.net.URI) method.
- Returns:
true
if this request could be served, else
false
- Throws:
- PortletException
- java.io.IOException