public class PortletRequestHandledEvent
extends org.springframework.web.context.support.RequestHandledEvent
FrameworkPortlet,
ApplicationEventPublisher.publishEvent(org.springframework.context.ApplicationEvent),
Serialized Form| Constructor and Description |
|---|
PortletRequestHandledEvent(java.lang.Object source,
java.lang.String portletName,
java.lang.String portletMode,
java.lang.String requestType,
java.lang.String sessionId,
java.lang.String userName,
long processingTimeMillis)
Create a new PortletRequestHandledEvent.
|
PortletRequestHandledEvent(java.lang.Object source,
java.lang.String portletName,
java.lang.String portletMode,
java.lang.String requestType,
java.lang.String sessionId,
java.lang.String userName,
long processingTimeMillis,
java.lang.Throwable failureCause)
Create a new PortletRequestHandledEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getPortletMode()
Return the mode of the portlet request (usually 'view', 'edit', or 'help').
|
java.lang.String |
getPortletName()
Return the name of the portlet that handled the request.
|
java.lang.String |
getRequestType()
Return the type of Portlet Request ('action' or 'render').
|
java.lang.String |
getShortDescription() |
java.lang.String |
toString() |
public PortletRequestHandledEvent(java.lang.Object source,
java.lang.String portletName,
java.lang.String portletMode,
java.lang.String requestType,
java.lang.String sessionId,
java.lang.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(java.lang.Object source,
java.lang.String portletName,
java.lang.String portletMode,
java.lang.String requestType,
java.lang.String sessionId,
java.lang.String userName,
long processingTimeMillis,
java.lang.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 java.lang.String getPortletName()
public java.lang.String getPortletMode()
public java.lang.String getRequestType()
public java.lang.String getShortDescription()
getShortDescription in class org.springframework.web.context.support.RequestHandledEventpublic java.lang.String getDescription()
getDescription in class org.springframework.web.context.support.RequestHandledEventpublic java.lang.String toString()
toString in class org.springframework.web.context.support.RequestHandledEvent