|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface End
Marks a method as ending a conversation, if the method returns a non-null outcome without throwing an exception. If a list of outcomes is specified, the conversation ends only if the outcome is in the list. A null outcome never ends the conversation. If the method is of type void, the conversation always ends.
Optional Element Summary | |
---|---|
boolean |
beforeRedirect
Should the conversation be destroyed before any redirect? (The default behavior is to propagate the conversation across the redirect and then destroy it at the end of the redirected request.) |
String[] |
ifOutcome
Deprecated. use Conversation.instance().end() |
boolean |
root
If the conversation is nested, should the root of the conversation be destroyed? (The default behavior is to simply pop the conversation stack.) |
public abstract String[] ifOutcome
public abstract boolean beforeRedirect
public abstract boolean root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |