|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RequestContext | |
---|---|
org.springframework.webflow.action | Common action implementations invokable by flow definitions. |
org.springframework.webflow.action.portlet | Action implementations that define logic specific to flows executing in a JSR-168 Portlet environment. |
org.springframework.webflow.engine | The implementation of the core flow definition artifacts that serve the basis of the flow execution engine. |
org.springframework.webflow.engine.support | Support implementations for internal engine-specific types. |
org.springframework.webflow.execution | Core, stable abstractions for representing runtime executions of flow definitions. |
org.springframework.webflow.test | Support for testing flows and their associated artifacts. |
Uses of RequestContext in org.springframework.webflow.action |
---|
Methods in org.springframework.webflow.action with parameters of type RequestContext | |
---|---|
Event |
FormAction.bind(RequestContext context)
Bind incoming request parameters to allowed fields of the form object. |
Event |
FormAction.bindAndValidate(RequestContext context)
Bind incoming request parameters to allowed fields of the form object and then validate the bound form object if a validator is configured. |
protected org.springframework.validation.DataBinder |
FormAction.createBinder(RequestContext context,
java.lang.Object formObject)
Create a new binder instance for the given form object and request context. |
protected java.lang.Object |
FormAction.createFormObject(RequestContext context)
Create the backing form object instance that should be managed by this form action . |
Event |
SuccessEventFactory.createResultEvent(java.lang.Object source,
java.lang.Object resultObject,
RequestContext context)
|
Event |
ResultEventFactory.createResultEvent(java.lang.Object source,
java.lang.Object resultObject,
RequestContext context)
Create an event instance from the result object. |
Event |
ResultObjectBasedEventFactory.createResultEvent(java.lang.Object source,
java.lang.Object resultObject,
RequestContext context)
|
protected void |
FormAction.doBind(RequestContext context,
org.springframework.validation.DataBinder binder)
Bind allowed parameters in the external context request parameter map to the form object using given binder. |
protected Event |
MultiAction.doExecute(RequestContext context)
|
protected abstract Event |
AbstractAction.doExecute(RequestContext context)
Template hook method subclasses should override to encapsulate their specific action execution logic. |
protected Event |
AbstractBeanInvokingAction.doExecute(RequestContext context)
|
protected Event |
AttributeMapperAction.doExecute(RequestContext context)
|
protected Event |
EvaluateAction.doExecute(RequestContext context)
|
protected Event |
SetAction.doExecute(RequestContext context)
|
Event |
CompositeAction.doExecute(RequestContext context)
|
protected void |
AbstractAction.doPostExecute(RequestContext context)
Post-action execution hook, subclasses may override. |
protected Event |
AbstractAction.doPreExecute(RequestContext context)
Pre-action-execution hook, subclasses may override. |
protected void |
FormAction.doValidate(RequestContext context,
java.lang.Object formObject,
org.springframework.validation.Errors errors)
Validate given form object using a registered validator. |
Event |
AbstractAction.execute(RequestContext context)
|
void |
ActionResultExposer.exposeResult(java.lang.Object result,
RequestContext context)
Expose given bean method return value in given flow execution request context. |
protected abstract java.lang.Object |
AbstractBeanInvokingAction.getBean(RequestContext context)
Retrieves the bean to invoke a method on. |
protected org.springframework.binding.expression.EvaluationContext |
EvaluateAction.getEvaluationContext(RequestContext context)
Template method subclasses may override to customize the expressin evaluation context. |
protected org.springframework.binding.expression.EvaluationContext |
SetAction.getEvaluationContext(RequestContext context)
Template method subclasses may override to customize the expression evaluation context. |
protected org.springframework.validation.Errors |
FormAction.getFormErrors(RequestContext context)
Convenience method that returns the form object errors for this form action. |
protected java.lang.Object |
FormAction.getFormObject(RequestContext context)
Convenience method that returns the form object for this form action. |
protected FormObjectAccessor |
FormAction.getFormObjectAccessor(RequestContext context)
Factory method that returns a new form object accessor for accessing form objects in the provided request context. |
protected org.springframework.binding.mapping.MappingContext |
AttributeMapperAction.getMappingContext(RequestContext context)
Returns a context containing extra data available during attribute mapping. |
protected void |
FormAction.initBinder(RequestContext context,
org.springframework.validation.DataBinder binder)
Initialize a new binder instance. |
protected void |
FormAction.registerPropertyEditors(RequestContext context,
org.springframework.beans.PropertyEditorRegistry registry)
Register custom editors to perform type conversion on fields of your form object during data binding and form display. |
Event |
FormAction.resetForm(RequestContext context)
Resets the form by clearing out the form object in the specified scope and recreating it. |
java.lang.String |
MultiAction.MethodResolver.resolveMethod(RequestContext context)
Resolve a method name from given flow execution request context. |
java.lang.String |
DefaultMultiActionMethodResolver.resolveMethod(RequestContext context)
|
Event |
FormAction.setupForm(RequestContext context)
Prepares a form object for display in a new form, creating it and caching it in the FormAction.getFormObjectScope()
if necessary. |
Event |
FormAction.validate(RequestContext context)
Validate the form object by invoking the validator if configured. |
protected boolean |
FormAction.validationEnabled(RequestContext context)
Return whether validation should be performed given the state of the flow request context. |
Constructors in org.springframework.webflow.action with parameters of type RequestContext | |
---|---|
FormObjectAccessor(RequestContext context)
Creates a form object accessor that wraps the given context. |
Uses of RequestContext in org.springframework.webflow.action.portlet |
---|
Methods in org.springframework.webflow.action.portlet with parameters of type RequestContext | |
---|---|
protected Event |
SetPortletModeAction.doExecute(RequestContext context)
Sets the PortletMode. |
Uses of RequestContext in org.springframework.webflow.engine |
---|
Subinterfaces of RequestContext in org.springframework.webflow.engine | |
---|---|
interface |
RequestControlContext
Mutable control interface used to manipulate an ongoing flow execution in the context of one client request. |
Methods in org.springframework.webflow.engine with parameters of type RequestContext | |
---|---|
boolean |
Transition.canExecute(RequestContext context)
Checks if this transition can complete its execution or should be rolled back, given the state of the flow execution request context. |
void |
FlowVariable.create(RequestContext context)
Creates a new instance of this flow variable in the configured scope. |
MutableAttributeMap |
FlowAttributeMapper.createFlowInput(RequestContext context)
Create a map of attributes that should be passed as input to a spawning flow. |
protected LocalAttributeMap |
EndState.createSessionOutput(RequestContext context)
Returns the subflow output map. |
protected MutableAttributeMap |
SubflowState.createSubflowInput(RequestContext context)
Create the input data map for the spawned subflow session. |
protected abstract java.lang.Object |
FlowVariable.createVariableValue(RequestContext context)
Hook method that needs to be implemented by subclasses to calculate the value of this flow variable based on the information available in the request context. |
static Event |
ActionExecutor.execute(Action action,
RequestContext context)
Execute the given action. |
void |
ActionList.execute(RequestContext context)
Executes the actions contained within this action list. |
Event |
AnnotatedAction.execute(RequestContext context)
|
Transition |
TransitionableState.getRequiredTransition(RequestContext context)
Get a transition in this state for given flow execution request context. |
Transition |
ActionState.getRequiredTransition(RequestContext context)
|
Transition |
TransitionSet.getTransition(RequestContext context)
Gets a transition for given flow execution request context. |
boolean |
TransitionSet.hasMatchingTransition(RequestContext context)
Returns whether or not this list has a transition that will fire for given flow execution request context. |
boolean |
ViewSelector.isEntrySelectionRenderable(RequestContext context)
Will the primary selection returned by 'makeEntrySelection' for the given request context be renderable in this request? |
boolean |
NullViewSelector.isEntrySelectionRenderable(RequestContext context)
|
ViewSelection |
ViewSelector.makeEntrySelection(RequestContext context)
Make a new "entry" view selection for the given request context. |
ViewSelection |
NullViewSelector.makeEntrySelection(RequestContext context)
|
ViewSelection |
ViewSelector.makeRefreshSelection(RequestContext context)
Reconstitute a renderable view selection for the given request context to support a ViewState 'refresh' operation. |
ViewSelection |
NullViewSelector.makeRefreshSelection(RequestContext context)
|
void |
FlowAttributeMapper.mapFlowOutput(AttributeMap flowOutput,
RequestContext context)
Map output attributes of an ended flow to a resuming parent flow session. |
boolean |
Transition.matches(RequestContext context)
Checks if this transition is elligible for execution given the state of the provided flow execution request context. |
ViewSelection |
ViewState.refresh(RequestContext context)
Request that the current view selection be reconstituted to support reissuing the response. |
State |
TargetStateResolver.resolveTargetState(Transition transition,
State sourceState,
RequestContext context)
Resolve the target state of the transition from the source state in the current request context. |
boolean |
TransitionCriteria.test(RequestContext context)
Check if the transition should fire based on the given flow execution request context. |
boolean |
WildcardTransitionCriteria.test(RequestContext context)
|
Uses of RequestContext in org.springframework.webflow.engine.support |
---|
Methods in org.springframework.webflow.engine.support with parameters of type RequestContext | |
---|---|
protected boolean |
ApplicationViewSelector.alwaysRedirectOnPause(RequestContext context)
Checks the ApplicationViewSelector.ALWAYS_REDIRECT_ON_PAUSE_ATTRIBUTE to see if every application view of the flow execution
should be rendered via a redirect. |
protected ApplicationView |
ApplicationViewSelector.createApplicationView(java.lang.String viewName,
RequestContext context)
Creates the application view selection. |
MutableAttributeMap |
AbstractFlowAttributeMapper.createFlowInput(RequestContext context)
|
protected java.lang.Object |
BeanFactoryFlowVariable.createVariableValue(RequestContext context)
|
protected java.lang.Object |
SimpleFlowVariable.createVariableValue(RequestContext context)
|
protected void |
TransitionExecutingStateExceptionHandler.exposeException(RequestContext context,
FlowExecutionException exception,
java.lang.Throwable rootCause)
Exposes the given flow exception and root cause in flash scope to make them available for response rendering. |
protected org.springframework.binding.expression.EvaluationContext |
BooleanExpressionTransitionCriteria.getEvaluationContext(RequestContext context)
Setup a context with a few aliased values to make writing expression based transition conditions a bit easier. |
protected org.springframework.binding.mapping.MappingContext |
AbstractFlowAttributeMapper.getMappingContext(RequestContext context)
Returns a map of contextual data available during mapping. |
boolean |
ApplicationViewSelector.isEntrySelectionRenderable(RequestContext context)
|
boolean |
FlowDefinitionRedirectSelector.isEntrySelectionRenderable(RequestContext context)
|
boolean |
ExternalRedirectSelector.isEntrySelectionRenderable(RequestContext context)
|
ViewSelection |
ApplicationViewSelector.makeEntrySelection(RequestContext context)
|
ViewSelection |
FlowDefinitionRedirectSelector.makeEntrySelection(RequestContext context)
|
ViewSelection |
ExternalRedirectSelector.makeEntrySelection(RequestContext context)
|
ViewSelection |
ApplicationViewSelector.makeRefreshSelection(RequestContext context)
|
ViewSelection |
FlowDefinitionRedirectSelector.makeRefreshSelection(RequestContext context)
|
ViewSelection |
ExternalRedirectSelector.makeRefreshSelection(RequestContext context)
|
void |
AbstractFlowAttributeMapper.mapFlowOutput(AttributeMap subflowOutput,
RequestContext context)
|
State |
DefaultTargetStateResolver.resolveTargetState(Transition transition,
State sourceState,
RequestContext context)
|
protected java.lang.String |
ApplicationViewSelector.resolveViewName(RequestContext context)
Resolves the application view name from the request context. |
protected boolean |
ApplicationViewSelector.shouldRedirect(RequestContext context)
Determine whether or not a redirect should be used to render the application view. |
boolean |
TransitionCriteriaChain.test(RequestContext context)
|
boolean |
BooleanExpressionTransitionCriteria.test(RequestContext context)
|
boolean |
ActionTransitionCriteria.test(RequestContext context)
|
boolean |
NotTransitionCriteria.test(RequestContext context)
|
boolean |
EventIdTransitionCriteria.test(RequestContext context)
|
Uses of RequestContext in org.springframework.webflow.execution |
---|
Methods in org.springframework.webflow.execution with parameters of type RequestContext | |
---|---|
void |
FlowExecutionListener.eventSignaled(RequestContext context,
Event event)
Called when an event is signaled in the current state, but prior to any state transition. |
void |
FlowExecutionListenerAdapter.eventSignaled(RequestContext context,
Event event)
|
void |
FlowExecutionListener.exceptionThrown(RequestContext context,
FlowExecutionException exception)
Called when an exception is thrown during a flow execution, before the exception is handled by any registered handler . |
void |
FlowExecutionListenerAdapter.exceptionThrown(RequestContext context,
FlowExecutionException exception)
|
Event |
Action.execute(RequestContext context)
Execute this action. |
abstract MutableAttributeMap |
ScopeType.getScope(RequestContext context)
Accessor that returns the mutable attribute map for this scope type for a given flow execution request context. |
void |
FlowExecutionListener.paused(RequestContext context,
ViewSelection selectedView)
Called when a flow execution is paused, for instance when it is waiting for user input (after event processing). |
void |
FlowExecutionListenerAdapter.paused(RequestContext context,
ViewSelection selectedView)
|
void |
FlowExecutionListener.requestProcessed(RequestContext context)
Called when a client request has completed processing. |
void |
FlowExecutionListenerAdapter.requestProcessed(RequestContext context)
|
void |
FlowExecutionListener.requestSubmitted(RequestContext context)
Called when any client request is submitted to manipulate this flow execution. |
void |
FlowExecutionListenerAdapter.requestSubmitted(RequestContext context)
|
void |
FlowExecutionListener.resumed(RequestContext context)
Called after a flow execution is successfully reactivated after pause (but before event processing). |
void |
FlowExecutionListenerAdapter.resumed(RequestContext context)
|
void |
FlowExecutionListener.sessionCreated(RequestContext context,
FlowSession session)
Called after a new flow session has been created but before it starts. |
void |
FlowExecutionListenerAdapter.sessionCreated(RequestContext context,
FlowSession session)
|
void |
FlowExecutionListener.sessionEnded(RequestContext context,
FlowSession session,
AttributeMap output)
Called when a flow execution session ends. |
void |
FlowExecutionListenerAdapter.sessionEnded(RequestContext context,
FlowSession session,
AttributeMap output)
|
void |
FlowExecutionListener.sessionEnding(RequestContext context,
FlowSession session,
MutableAttributeMap output)
Called when the active flow execution session has been asked to end but before it has ended. |
void |
FlowExecutionListenerAdapter.sessionEnding(RequestContext context,
FlowSession session,
MutableAttributeMap output)
|
void |
FlowExecutionListener.sessionStarted(RequestContext context,
FlowSession session)
Called after a new flow session has started. |
void |
FlowExecutionListenerAdapter.sessionStarted(RequestContext context,
FlowSession session)
|
void |
FlowExecutionListener.sessionStarting(RequestContext context,
FlowDefinition definition,
MutableAttributeMap input)
Called to indicate a new flow definition session is about to be created and started. |
void |
FlowExecutionListenerAdapter.sessionStarting(RequestContext context,
FlowDefinition definition,
MutableAttributeMap input)
|
void |
FlowExecutionListener.stateEntered(RequestContext context,
StateDefinition previousState,
StateDefinition state)
Called when a state transitions, after the transition occured. |
void |
FlowExecutionListenerAdapter.stateEntered(RequestContext context,
StateDefinition previousState,
StateDefinition newState)
|
void |
FlowExecutionListener.stateEntering(RequestContext context,
StateDefinition state)
Called when a state transitions, after the transition is matched but before the transition occurs. |
void |
FlowExecutionListenerAdapter.stateEntering(RequestContext context,
StateDefinition state)
|
Constructors in org.springframework.webflow.execution with parameters of type RequestContext | |
---|---|
EnterStateVetoException(RequestContext context,
StateDefinition vetoedState,
java.lang.String message)
Create a new enter state veto exception. |
|
EnterStateVetoException(RequestContext context,
StateDefinition vetoedState,
java.lang.String message,
java.lang.Throwable cause)
Create a new enter state veto exception. |
Uses of RequestContext in org.springframework.webflow.test |
---|
Classes in org.springframework.webflow.test that implement RequestContext | |
---|---|
class |
MockRequestContext
Mock implementation of the RequestContext interface to facilitate standalone flow artifact (e.g. |
class |
MockRequestControlContext
Mock implementation of the RequestControlContext interface to facilitate standalone Flow and State unit
tests. |
Methods in org.springframework.webflow.test with parameters of type RequestContext | |
---|---|
Event |
MockAction.execute(RequestContext context)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |