javax.portlet.listener
Class PortletRequestEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.portlet.listener.PortletRequestEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PortletRequestAttributeEvent

public class PortletRequestEvent
extends java.util.EventObject

This is the event class for notifications about changes to the portlet request of a portlet application.

Since:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PortletRequestEvent(PortletContext pc, PortletRequest request)
          Construct a PortletRequestEvent from the given context.
 
Method Summary
 PortletContext getPortletContext()
          Return the PortletContext that changed.
 PortletRequest getPortletRequest()
          Return the ServletRequest that changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletRequestEvent

public PortletRequestEvent(PortletContext pc,
                           PortletRequest request)
Construct a PortletRequestEvent from the given context.

Parameters:
pc - portlet context
request - portlet request
Method Detail

getPortletRequest

public PortletRequest getPortletRequest()
Return the ServletRequest that changed.

Returns:
the PortletRequest that sent the event.

getPortletContext

public PortletContext getPortletContext()
Return the PortletContext that changed.

Returns:
the PortletContext of the portlet application.