| org.springframework.context.ApplicationEvent org.springframework.web.context.support.RequestHandledEvent
All known Subclasses: org.springframework.web.context.support.ServletRequestHandledEvent,
RequestHandledEvent | public RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis)(Code) | | Create a new RequestHandledEvent with session information.
Parameters: source - the component that published the event Parameters: sessionId - the id of the HTTP session, if any Parameters: userName - the name of the user that was associated with therequest, if any (usually the UserPrincipal) Parameters: processingTimeMillis - the processing time of the request in milliseconds |
RequestHandledEvent | public RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis, Throwable failureCause)(Code) | | Create a new RequestHandledEvent with session information.
Parameters: source - the component that published the event Parameters: sessionId - the id of the HTTP session, if any Parameters: userName - the name of the user that was associated with therequest, if any (usually the UserPrincipal) Parameters: processingTimeMillis - the processing time of the request in milliseconds Parameters: failureCause - the cause of failure, if any |
getDescription | public String getDescription()(Code) | | Return a full description of this event, involving
all available context data.
|
getFailureCause | public Throwable getFailureCause()(Code) | | Return the cause of failure, if any.
|
getProcessingTimeMillis | public long getProcessingTimeMillis()(Code) | | Return the processing time of the request in milliseconds.
|
getSessionId | public String getSessionId()(Code) | | Return the id of the HTTP session, if any.
|
getShortDescription | public String getShortDescription()(Code) | | Return a short description of this event, only involving
the most important context data.
|
wasFailure | public boolean wasFailure()(Code) | | Return whether the request failed.
|
Methods inherited from org.springframework.context.ApplicationEvent | final public long getTimestamp()(Code)(Java Doc)
|
|
|