|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceServingPortlet
The ResourceServingPortlet
interface allows
serving resources through the portlet.
The portlet container must call this method for links created by
the RenderResponse.createResourceURL()
call.
If the portlet creates resource URLs with RenderResponse.createResourceURL()
it must implement this lifecycle method.
Method Summary | |
---|---|
void |
serveResource(ResourceRequest request,
ResourceResponse response)
Called by the portlet container to allow the portlet to generate the resource content based on its current state. |
Method Detail |
---|
void serveResource(ResourceRequest request, ResourceResponse response) throws PortletException, java.io.IOException
renderResource
call.
request
- the resource requestresponse
- 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
java.io.IOException
- if the streaming causes an I/O problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |