This project has retired. For details please refer to its
Attic page.
PortletRequestEvent
javax.portlet.listener
Class PortletRequestEvent
java.lang.Object
java.util.EventObject
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
| Fields inherited from class java.util.EventObject |
source |
| 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 |
PortletRequestEvent
public PortletRequestEvent(PortletContext pc,
PortletRequest request)
- Construct a
PortletRequestEvent from the given context.
- Parameters:
pc - portlet contextrequest - portlet request
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.