|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.impl.AbortBySendRedirect
public class AbortBySendRedirect
The aborting reason for send-redirect. In other words, the client will redirect the specified URL.
| Constructor Summary | |
|---|---|
AbortBySendRedirect(java.lang.String url,
java.lang.String target)
Constructs an aborting reason for send-redirect. |
|
| Method Summary | |
|---|---|
void |
execute()
Called to process this aborting reason. |
AuResponse |
getResponse()
Returns the response representing this aborting reason. |
boolean |
isAborting()
Returns whether to abort the execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbortBySendRedirect(java.lang.String url,
java.lang.String target)
url - the target URL, never null.target - the target browser window, or null to use the current one.| Method Detail |
|---|
public boolean isAborting()
AbortingReason
isAborting in interface AbortingReasonpublic void execute()
AbortingReasonUiEngine processes all events,
before generating the responses to the client.
Note: it is always called even if AbortingReason.isAborting() returns false.
Note: AbortingReason.execute() is called before generating
the responses to the client, while AbortingReason.getResponse() is called
when generating the responses.
execute in interface AbortingReasonAbortingReason.getResponse()public AuResponse getResponse()
AbortingReasonUiEngine generates the responses to
client. Actually, it is called as the last step after
generating all other responses. In other words, the response
returned by this method, if any, will become the last response.
Note: don't modify the components in AbortingReason.getResponse(), since
it is called after all other responses are generated.
Note: it is always called even if AbortingReason.isAborting() returns false.
Note: AbortingReason.execute() is called before generating
the responses to the client, while AbortingReason.getResponse() is called
when generating the responses.
getResponse in interface AbortingReasonAbortingReason.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||