Class AuSendRedirect

java.lang.Object
org.zkoss.zk.au.AuResponse
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
  • Constructor Details

    • AuSendRedirect

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

    • getOverrideKey

      public final 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