站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

RequestAttributePortlet - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.portlet.portletrequest
Class RequestAttributePortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.jboss.portal.test.portlet.AbstractPortlet
          extended byorg.jboss.portal.test.portlet.portletrequest.RequestAttributePortlet
All Implemented Interfaces:
Portlet

public class RequestAttributePortlet
extends AbstractPortlet

This case works with two portlets involved in the same render request. To pass the test, the assert result of the two portlets must pass.


Constructor Summary
RequestAttributePortlet()
           
 
Method Summary
 void render(RenderRequest request, RenderResponse response)
          The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
 
Methods inherited from class org.jboss.portal.test.portlet.AbstractPortlet
getRequestCount, getRequestLocal, sendResult, setRequestLocal
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, processAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAttributePortlet

public RequestAttributePortlet()
Method Detail

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 request
response - 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