com.interface21.web.context
Class RequestHandledEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.interface21.context.ApplicationEvent
              |
              +--com.interface21.web.context.RequestHandledEvent
All Implemented Interfaces:
java.io.Serializable

public class RequestHandledEvent
extends ApplicationEvent

Event raised when a request is handled by our web framework.

Since:
January 17, 2001
Author:
Rod Johnson
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RequestHandledEvent(java.lang.Object source, java.lang.String url, long timeMillis, java.lang.String ip, java.lang.String method, java.lang.String servletName)
          Creates a new PageViewEvent
RequestHandledEvent(java.lang.Object source, java.lang.String url, long timeMillis, java.lang.String ip, java.lang.String method, java.lang.String servletName, java.lang.Throwable t)
           
 
Method Summary
 java.lang.Throwable getFailureCause()
           
 java.lang.String getIP()
           
 java.lang.String getMethod()
           
 java.lang.String getServletName()
           
 long getTimeMillis()
           
 java.lang.String getURL()
           
 java.lang.String toString()
           
 boolean wasFailure()
           
 
Methods inherited from class com.interface21.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
 

Constructor Detail

RequestHandledEvent

public RequestHandledEvent(java.lang.Object source,
                           java.lang.String url,
                           long timeMillis,
                           java.lang.String ip,
                           java.lang.String method,
                           java.lang.String servletName)
Creates a new PageViewEvent

RequestHandledEvent

public RequestHandledEvent(java.lang.Object source,
                           java.lang.String url,
                           long timeMillis,
                           java.lang.String ip,
                           java.lang.String method,
                           java.lang.String servletName,
                           java.lang.Throwable t)
Method Detail

getURL

public java.lang.String getURL()

getTimeMillis

public long getTimeMillis()

getIP

public java.lang.String getIP()

wasFailure

public boolean wasFailure()

getFailureCause

public java.lang.Throwable getFailureCause()

getMethod

public java.lang.String getMethod()

getServletName

public java.lang.String getServletName()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject


Rod Johnson and Spring contributors 2001-2003.