org.springframework.web.context.support
Class RequestHandledEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.springframework.context.ApplicationEvent
|
+--org.springframework.web.context.support.RequestHandledEvent
- public class RequestHandledEvent
- extends ApplicationEvent
Event raised when a request is handled by our web framework.
- Author:
- Rod Johnson
- Since: January 17, 2001
Constructor Summary |
RequestHandledEvent(Object source, String url, long timeMillis, String ip, String method, String servletName) |
RequestHandledEvent(Object source, String url, long timeMillis, String ip, String method, String servletName, Throwable ex) |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals |
RequestHandledEvent
public RequestHandledEvent(Object source, String url, long timeMillis, String ip, String method, String servletName)
RequestHandledEvent
public RequestHandledEvent(Object source, String url, long timeMillis, String ip, String method, String servletName, Throwable ex)
getFailureCause
public Throwable getFailureCause()
getIpAddress
public String getIpAddress()
getMethod
public String getMethod()
getServletName
public String getServletName()
getTimeMillis
public long getTimeMillis()
getURL
public String getURL()
toString
public String toString()
wasFailure
public boolean wasFailure()
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
- Usually GET or POST
to Class java.lang.String
- Name of the servlet that handled this request is available
to Class java.lang.Throwable