Top Description Fields Methods
javax.portlet

public Interface EventRequest

extends PortletRequest
Known Direct Implementers
javax.portlet.filter.EventRequestWrapper

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

Field Summary

Inherited from javax.portlet.PortletRequest:
ACTION_PHASEACTION_SCOPE_IDBASIC_AUTHCCPP_PROFILECLIENT_CERT_AUTHDIGEST_AUTHEVENT_PHASEFORM_AUTHHEADER_PHASELIFECYCLE_PHASERENDER_HEADERSRENDER_MARKUPRENDER_PARTRENDER_PHASERESOURCE_PHASEUSER_INFO

Method Summary

Modifier and TypeMethod and Description
public Event

Returns:

the event that triggered the current processEvent call.
getEvent
()

Returns the event that triggered the call to the processEvent method.

public String

Returns:

a String specifying the name of the HTTP method with which this request was made
getMethod
()

Returns the name of the HTTP method with which the original action request was made, for example, POST, or PUT.

Inherited from javax.portlet.PortletRequest:
getAttributegetAttributeNamesgetAuthTypegetContextPathgetCookiesgetLocalegetLocalesgetParametergetParameterMapgetParameterNamesgetParameterValuesgetPortalContextgetPortletContextgetPortletSessiongetPortletSessiongetPreferencesgetPrivateParameterMapgetPropertiesgetPropertygetPropertyNamesgetPublicParameterMapgetRemoteUsergetRequestedSessionIdgetResponseContentTypegetResponseContentTypesgetSchemegetServerNamegetServerPortgetUserAgentgetUserPrincipalgetWindowIDisPortletModeAllowedisRequestedSessionIdValidisSecureisUserInRoleisWindowStateAllowedremoveAttributesetAttribute

Method Detail

getEventback to summary
public Event getEvent()

Returns the event that triggered the call to the processEvent method.

Returns:Event

the event that triggered the current processEvent call.

getMethodback to summary
public String getMethod()

Returns the name of the HTTP method with which the original action request was made, for example, POST, or PUT.

Returns:String

a String specifying the name of the HTTP method with which this request was made

Since
2.0