org.enhydra.barracuda.core.event
Class HttpRequestEvent

java.lang.Object
  extended byorg.enhydra.barracuda.core.event.DefaultBaseEvent
      extended byorg.enhydra.barracuda.core.event.ControlEvent
          extended byorg.enhydra.barracuda.core.event.HttpRequestEvent
All Implemented Interfaces:
BaseEvent, Cloneable, Polymorphic, StateMap
Direct Known Subclasses:
ActionEvent, LongRunningEvent

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, params, 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(Object source)
          Public constructor.
HttpRequestEvent(String urlParamStr)
          Public constructor.
 
Method Summary
 String describeEventChainingStrategy()
          Describe the event chaining stategy.
 
Methods inherited from class org.enhydra.barracuda.core.event.DefaultBaseEvent
addListenerID, clearState, clone, equals, getClassID, getEventExtension, getEventID, getEventIDWithExtension, getEventURL, getListenerIDs, getOriginalEvent, getParams, getRootEvent, getRootEvent, getSource, getState, getStateKeys, getStateValues, getTimestamp, isHandled, putState, removeState, reset, setEventExtension, setHandled, setParam, setParam, 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(String urlParamStr)
Public constructor. Automatically sets parameters associated with the event with a URL string of the form "key1=val1&key2=val2&..." (the param str may be prefixed by a '?')


HttpRequestEvent

public HttpRequestEvent(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 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 © 2003 BarracudaMVC.org All Rights Reserved.