|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.engine.support.ExternalRedirectSelector
public class ExternalRedirectSelector
Makes view selections requesting a client side redirect to an external URL outside of the flow.
This selector is usefull when you wish to request a redirect after conversation completion as part of entering an EndState.
This selector may also be used to redirect to an external URL from a ViewState of an active conversation. The external system redirected to will be provided the flow execution context necessary to allow it to communicate back to the executing flow at a later time.
ExternalRedirect
,
Serialized FormConstructor Summary | |
---|---|
ExternalRedirectSelector(org.springframework.binding.expression.Expression urlExpression)
Create a new redirecting view selector that takes given URL expression as input. |
Method Summary | |
---|---|
org.springframework.binding.expression.Expression |
getUrlExpression()
Returns the expression used by this view selector. |
boolean |
isEntrySelectionRenderable(RequestContext context)
Will the primary selection returned by 'makeEntrySelection' for the given request context be renderable in this request? |
ViewSelection |
makeEntrySelection(RequestContext context)
Make a new "entry" view selection for the given request context. |
ViewSelection |
makeRefreshSelection(RequestContext context)
Reconstitute a renderable view selection for the given request context to support a ViewState 'refresh' operation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExternalRedirectSelector(org.springframework.binding.expression.Expression urlExpression)
urlExpression
- the url expressionMethod Detail |
---|
public org.springframework.binding.expression.Expression getUrlExpression()
public boolean isEntrySelectionRenderable(RequestContext context)
ViewSelector
"Renderable" view selections typically can have 'render-actions' execute before they are created. An example would be an ApplicationView that forwards to a view template like a JSP. "Non-renderable" view selections are things like a flow execution redirect--no render actually occurs, but only a redirect--rendering happens on the new redirect request.
isEntrySelectionRenderable
in interface ViewSelector
context
- the current request context of the executing flow
public ViewSelection makeEntrySelection(RequestContext context)
ViewSelector
makeEntrySelection
in interface ViewSelector
context
- the current request context of the executing flow
public ViewSelection makeRefreshSelection(RequestContext context)
ViewSelector
makeRefreshSelection
in interface ViewSelector
context
- the current request context of the executing flow
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |