org.zkoss.zk.au.out
Class AuSendRedirect

java.lang.Object
  extended by org.zkoss.zk.au.AuResponse
      extended by org.zkoss.zk.au.out.AuSendRedirect

public class AuSendRedirect
extends AuResponse

A response to send a temporary redirect response to the client using the specified redirect location URL.

data[0]: the URL to redirect to.

Since:
3.0.0
Author:
tomyeh

Field Summary
 
Fields inherited from class org.zkoss.zk.au.AuResponse
_cmd, _data, SC_OUT_OF_SEQUENCE
 
Constructor Summary
AuSendRedirect(java.lang.String url, java.lang.String target)
           
 
Method Summary
 java.lang.String getOverrideKey()
          Default: zk.redirect (i.e., only one response of this class will be sent to the client in an execution)
 
Methods inherited from class org.zkoss.zk.au.AuResponse
equals, getCommand, getDepends, getEncodedData, getRawData, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuSendRedirect

public AuSendRedirect(java.lang.String url,
                      java.lang.String target)
Parameters:
url - the target URL, never null.
target - the target browser window, or null to use the current one.
Method Detail

getOverrideKey

public final java.lang.String getOverrideKey()
Default: zk.redirect (i.e., only one response of this class will be sent to the client in an execution)

Overrides:
getOverrideKey in class AuResponse
Since:
5.0.2


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo