当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
TestDuringActionPortlet - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.test.portlet.portletmode
Class TestDuringActionPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.jboss.portal.test.portlet.AbstractPortlet
org.jboss.portal.test.portlet.portletmode.TestDuringActionPortlet
- All Implemented Interfaces:
- Portlet
- public class TestDuringActionPortlet
- extends AbstractPortlet
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDuringActionPortlet
public TestDuringActionPortlet()
processAction
public void processAction(ActionRequest request,
ActionResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Description copied from class:
GenericPortlet
- Called by the portlet container to allow the portlet to process
an action request. This method is called if the client request was
originated by a URL created (by the portlet) with the
RenderResponse.createActionURL()
method.
The default implementation throws an exception.
- Specified by:
processAction
in interface Portlet
- Overrides:
processAction
in class GenericPortlet
- Parameters:
request
- the action requestresponse
- the action response
- Throws:
java.io.IOException
- if the streaming causes an I/O problem
PortletException
- if the portlet cannot fulfilling the request
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
render
public void render(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Description copied from class:
GenericPortlet
- The default implementation of this method sets the title
using the
getTitle
method and invokes the
doDispatch
method.
- Specified by:
render
in interface Portlet
- Overrides:
render
in class GenericPortlet
- Parameters:
request
- the render requestresponse
- the render response
- Throws:
PortletException
- if the portlet cannot fulfilling the request
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
java.io.IOException
- if the streaming causes an I/O problem