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

SessionPortlet - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.portlet
Class SessionPortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.jboss.portal.test.wsrp.portlet.SessionPortlet
All Implemented Interfaces:
Portlet

public class SessionPortlet
extends GenericPortlet

A simple portlet to test session handling in WSRP.

Since:
2.4
Version:
$Revision: 5440 $
Author:
Chris Laprun

Field Summary
private static java.lang.String COUNT
           
 
Fields inherited from class javax.portlet.GenericPortlet
 
Constructor Summary
SessionPortlet()
           
 
Method Summary
protected  void doView(RenderRequest req, RenderResponse resp)
          Helper method to serve up the mandatory view mode.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, processAction, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT

private static final java.lang.String COUNT
See Also:
Constant Field Values
Constructor Detail

SessionPortlet

public SessionPortlet()
Method Detail

doView

protected void doView(RenderRequest req,
                      RenderResponse resp)
               throws PortletException,
                      PortletSecurityException,
                      java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the mandatory view mode.

The default implementation throws an exception.

Overrides:
doView in class GenericPortlet
Parameters:
req - the portlet request
resp - 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