public interface PortletInvoker
action, render, and optionally
load. The container delegates the actual implementation of these operations to the
portal. The action method will invoke the processAction method on
the javax.portlet.Portlet interface of a portlet. The render method
will invoke the render method on the javax.portlet.Portlet interface of a portlet.| Modifier and Type | Method and Description |
|---|---|
void |
action(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
This method invokes the processAction method of a Java portlet (
javax.portlet.Portlet). |
void |
load(javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
This method invokes the optional load method of a portlet if supported.
|
void |
render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
This method invokes the render method of a Java portlet (
javax.portlet.Portlet). |
void action(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.Portlet).request - Represents the request sent to a portlet to handle an action.response - Represents the response provide by a portlet in handling an action.javax.portlet.PortletExceptionjava.io.IOExceptionvoid render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.Portlet).request - Represents the request sent to a portlet to handle rendering the portlet.response - Represents the response provide by a portlet in rendering.javax.portlet.PortletExceptionjava.io.IOExceptionvoid load(javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException
request - Represents the request sent to a portlet to handle initializing the portlet.response - Represents the response sent to a portlet to handle initializing the portlet.javax.portlet.PortletExceptionCopyright © 2003-2013 . All Rights Reserved.