|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.au.AuResponse org.zkoss.zk.au.out.AuDownload
public class AuDownload
A response to ask the client to download the specified URI.
data[0]: the URL to download the file from.
Field Summary |
---|
Fields inherited from class org.zkoss.zk.au.AuResponse |
---|
_cmd, _data, SC_ACTIVATION_TIMEOUT, SC_OUT_OF_SEQUENCE |
Constructor Summary | |
---|---|
AuDownload(DeferredValue deferredURI)
Constructs with a deferred URI. |
|
AuDownload(java.lang.String url)
Constructs with an encoded URL. |
Method Summary |
---|
Methods inherited from class org.zkoss.zk.au.AuResponse |
---|
equals, getCommand, getDepends, getEncodedData, getOverrideKey, getRawData, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuDownload(java.lang.String url)
AuDownload(DeferredValue)
and
then invoke encodeURL in the rendering phase.
url
- the URI of the file to download, never null.public AuDownload(DeferredValue deferredURI)
AuDownload(DeferredValue)
and
then invoke encodeURL in the rendering phase.
deferredURI
- the URI but the value will be evaluated
later.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |