public class PortletRequestHandledEvent
extends org.springframework.web.context.support.RequestHandledEvent
FrameworkPortlet,
ApplicationEventPublisher.publishEvent(org.springframework.context.ApplicationEvent),
Serialized Formsource| Constructor and Description |
|---|
PortletRequestHandledEvent(Object source,
String portletName,
String portletMode,
String requestType,
String sessionId,
String userName,
long processingTimeMillis)
Create a new PortletRequestHandledEvent.
|
PortletRequestHandledEvent(Object source,
String portletName,
String portletMode,
String requestType,
String sessionId,
String userName,
long processingTimeMillis,
Throwable failureCause)
Create a new PortletRequestHandledEvent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getPortletMode()
Return the mode of the portlet request (usually 'view', 'edit', or 'help').
|
String |
getPortletName()
Return the name of the portlet that handled the request.
|
String |
getRequestType()
Return the the type of Portlet Request ('action' or 'render').
|
String |
getShortDescription() |
String |
toString() |
getFailureCause, getProcessingTimeMillis, getSessionId, getUserName, wasFailuregetSourcepublic PortletRequestHandledEvent(Object source, String portletName, String portletMode, String requestType, String sessionId, String userName, long processingTimeMillis)
source - the component that published the eventportletName - the name of the portlet that handled the requestportletMode - the PortletMode of the request (usually 'view', 'edit', or 'help')requestType - the type of Portlet request ('action' or 'render')sessionId - the id of the HTTP session, if anyuserName - the name of the user that was associated with the
request, if any (usually the UserPrincipal)processingTimeMillis - the processing time of the request in millisecondspublic PortletRequestHandledEvent(Object source, String portletName, String portletMode, String requestType, String sessionId, String userName, long processingTimeMillis, Throwable failureCause)
source - the component that published the eventportletName - the name of the portlet that handled the requestportletMode - the PortletMode of the request (usually 'view', 'edit', or 'help')requestType - the type of Portlet request ('action' or 'render')sessionId - the id of the HTTP session, if anyuserName - the name of the user that was associated with the
request, if any (usually the UserPrincipal)processingTimeMillis - the processing time of the request in millisecondsfailureCause - the cause of failure, if anypublic String getPortletName()
public String getPortletMode()
public String getRequestType()
public String getShortDescription()
getShortDescription in class org.springframework.web.context.support.RequestHandledEventpublic String getDescription()
getDescription in class org.springframework.web.context.support.RequestHandledEventpublic String toString()
toString in class org.springframework.web.context.support.RequestHandledEvent