org.barracudamvc.core.event
Class HttpRequestEvent
java.lang.Object
org.barracudamvc.core.event.DefaultBaseEvent
org.barracudamvc.core.event.ControlEvent
org.barracudamvc.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
Methods inherited from class org.barracudamvc.core.event.DefaultBaseEvent |
addListenerID, clearState, clone, equals, getClassID, getEventExtension, getEventID, getEventIDWithExtension, getEventURL, getListenerIDs, getOriginalEvent, getParams, getRootEvent, getRootEvent, getSource, getState, getStateKeys, getStateStore, getTimestamp, isHandled, putState, removeState, reset, setEventExtension, setHandled, setParam, setParam, setSource, setUseIDAliases, touch, useIDAliases |
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.
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 © 2004 BarracudaMVC.org All Rights Reserved.