| org.springframework.web.context.support.RequestHandledEvent org.springframework.web.context.support.ServletRequestHandledEvent
Constructor Summary | |
public | ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis) Create a new ServletRequestHandledEvent. | public | ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new ServletRequestHandledEvent. |
ServletRequestHandledEvent | public ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis)(Code) | | Create a new ServletRequestHandledEvent.
Parameters: source - the component that published the event Parameters: requestUrl - the URL of the request Parameters: clientAddress - the IP address that the request came from Parameters: method - the HTTP method of the request (usually GET or POST) Parameters: servletName - the name of the servlet that handled the request 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 |
ServletRequestHandledEvent | public ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause)(Code) | | Create a new ServletRequestHandledEvent.
Parameters: source - the component that published the event Parameters: requestUrl - the URL of the request Parameters: clientAddress - the IP address that the request came from Parameters: method - the HTTP method of the request (usually GET or POST) Parameters: servletName - the name of the servlet that handled the request 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 |
getClientAddress | public String getClientAddress()(Code) | | Return the IP address that the request came from.
|
getMethod | public String getMethod()(Code) | | Return the HTTP method of the request (usually GET or POST).
|
getRequestUrl | public String getRequestUrl()(Code) | | Return the URL of the request.
|
getServletName | public String getServletName()(Code) | | Return the name of the servlet that handled the request.
|
getShortDescription | public String getShortDescription()(Code) | | |
|
|