|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.springframework.context.ApplicationEvent org.springframework.web.context.support.RequestHandledEvent org.springframework.web.portlet.context.PortletRequestHandledEvent
public class PortletRequestHandledEvent
Portlet-specific subclass of RequestHandledEvent, adding portlet-specific context information.
FrameworkPortlet
,
ApplicationEventPublisher.publishEvent(org.springframework.context.ApplicationEvent)
,
Serialized FormField Summary | |
---|---|
private java.lang.String |
portletMode
PortletMode of the request |
private java.lang.String |
portletName
Name of the portlet that handled the request |
private java.lang.String |
requestType
Type of Portlet Request |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Return a full description of this event, involving all available context data. |
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 the type of Portlet Request ('action' or 'render'). |
java.lang.String |
getShortDescription()
Return a short description of this event, only involving the most important context data. |
java.lang.String |
toString()
|
Methods inherited from class org.springframework.web.context.support.RequestHandledEvent |
---|
getFailureCause, getProcessingTimeMillis, getSessionId, getUserName, wasFailure |
Methods inherited from class org.springframework.context.ApplicationEvent |
---|
getTimestamp |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.String portletName
private final java.lang.String portletMode
private final java.lang.String requestType
Constructor Detail |
---|
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 anyMethod Detail |
---|
public java.lang.String getPortletName()
public java.lang.String getPortletMode()
public java.lang.String getRequestType()
public java.lang.String getShortDescription()
RequestHandledEvent
getShortDescription
in class RequestHandledEvent
public java.lang.String getDescription()
RequestHandledEvent
getDescription
in class RequestHandledEvent
public java.lang.String toString()
toString
in class RequestHandledEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |