|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Suspend
Suspend the underlying response. Once suspended, a response migth be allowed
to consume Broadcast events, depending on the scope ([@link Suspend#SCOPE}).
By default, as response (HttpServletResponse, is suspended able to consume
any events executed inside the same application (SCOPE.APPLICATION).
The value can also be per suspended response (SCOPE.REQUEST) or available to other
application (SCOPE.VM).
| Optional Element Summary | |
|---|---|
Suspend.SCOPE |
scope
|
int |
value
How long a respons stay suspended, default is -1 |
public abstract int value
public abstract Suspend.SCOPE scope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||