org.enhydra.barracuda.core.event
Class HttpRequestEvent

java.lang.Object
  |
  +--org.enhydra.barracuda.core.event.DefaultBaseEvent
        |
        +--org.enhydra.barracuda.core.event.ControlEvent
              |
              +--org.enhydra.barracuda.core.event.HttpRequestEvent
All Implemented Interfaces:
BaseEvent, java.lang.Cloneable, Polymorphic, StateMap
Direct Known Subclasses:
ActionEvent

public class HttpRequestEvent
extends ControlEvent
implements Polymorphic

A HttpRequestEvent indicates that we received an HTTP Request. Events which extend this class typically implement the Controller portion of the Model 2 approach


Field Summary
 
Fields inherited from class org.enhydra.barracuda.core.event.DefaultBaseEvent
ext, handled, idList, source, sourceEvent, statemap, timestamp, USE_ID_ALIASES, useIDAliases
 
Fields inherited from interface org.enhydra.barracuda.core.event.BaseEvent
EVENT_ID
 
Constructor Summary
HttpRequestEvent()
          Default noargs constructor
HttpRequestEvent(java.lang.Object source)
          Public constructor.
 
Method Summary
 java.lang.String describeEventChainingStrategy()
          Describe the event chaining stategy.
 
Methods inherited from class org.enhydra.barracuda.core.event.DefaultBaseEvent
addListenerID, clone, equals, getClassID, getEventExtension, getEventID, getEventIDWithExtension, getListenerIDs, getOriginalEvent, getRootEvent, getRootEvent, getSource, getState, getStateKeys, getStateValues, getTimestamp, isHandled, putState, removeState, reset, setEventExtension, setHandled, setSource, setUseIDAliases, touch, useIDAliases
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestEvent

public HttpRequestEvent()
Default noargs constructor


HttpRequestEvent

public HttpRequestEvent(java.lang.Object source)
Public constructor. Automatically sets the source parameter. If you do not use this method you should manually set the source before dispatching the event.

Method Detail

describeEventChainingStrategy

public java.lang.String describeEventChainingStrategy()
Describe the event chaining stategy. This method really serves to ensure that objects cannot implement BOTH Polymorphic and Exceptional (it's got to be one or the other)

Specified by:
describeEventChainingStrategy in interface Polymorphic
Returns:
string describing the event chain strategy


Copyright © 2001 Enhydra.org