Package javax.portlet

Interface EventRequest

  • All Superinterfaces:
    PortletRequest
    All Known Implementing Classes:
    EventRequestWrapper

    public interface EventRequest
    extends PortletRequest
    The EventRequest represents the request sent to the portlet to handle an event. It extends the PortletRequest interface to provide event request information to portlets.
    The portlet container creates an EventRequest object and passes it as argument to the portlet's processEvent method.
    Since:
    2.0
    See Also:
    ActionRequest, PortletRequest
    • Method Detail

      • getEvent

        Event getEvent()
        Returns the event that triggered the call to the processEvent method.
        Returns:
        the event that triggered the current processEvent call.
      • getMethod

        java.lang.String getMethod()
        Returns the name of the HTTP method with which the original action request was made, for example, POST, or PUT.
        Returns:
        a String specifying the name of the HTTP method with which this request was made
        Since:
        2.0