|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventContext
This interface defines the event context. The context contains information about the event (event, queue, plus request and response info if appropriate). The context also implements StateMap, so you can use it to pass information between event handlers. The scope of the context is only for the duration of an event dispatch cycle (ie. from Http Request to Http Response)
Field Summary | |
---|---|
static String |
BASE_EVENT
|
static String |
DISPATCH_QUEUE
|
static String |
VIEW_CAPABILITIES
|
Method Summary | |
---|---|
BaseEvent |
getEvent()
Get the underlying BaseEvent |
DispatchQueue |
getQueue()
Get the underlying DispatchQueue |
ViewCapabilities |
getViewCapabilities()
Get the underlying ViewCapabilities |
void |
persistContext(ClientSideRedirectException re)
The event context must be able to persist its statemap so that it can reconstruct itself after a ClientSideRedirectException. |
Methods inherited from interface org.barracudamvc.plankton.data.StateMap |
---|
clearState, getState, getStateKeys, getStateStore, putState, removeState |
Field Detail |
---|
static final String BASE_EVENT
static final String DISPATCH_QUEUE
static final String VIEW_CAPABILITIES
Method Detail |
---|
BaseEvent getEvent()
DispatchQueue getQueue()
ViewCapabilities getViewCapabilities()
void persistContext(ClientSideRedirectException re)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |