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

Method Summary
 boolean serveResource()
          Implements the ResourceServingPortlet#serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse) method for a request that contains the POC URI as the resourceID.
 
Methods inherited from interface com.ibm.portal.resolver.service.PortletRenderPocService
createResourceURL
 
Methods inherited from interface com.ibm.portal.resolver.service.PocService
createContext, createURI, createURI, createURI, getContext, getContextAccessor, getLookupService, getURLFactory
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

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