Class DownloadHandler
- java.lang.Object
-
- org.zkoss.zats.mimic.impl.response.DownloadHandler
-
- All Implemented Interfaces:
LayoutResponseHandler,UpdateResponseHandler
public class DownloadHandler extends Object implements UpdateResponseHandler, LayoutResponseHandler
The response handler for download event.- Author:
- pao
-
-
Field Summary
Fields Modifier and Type Field Description static StringREGISTER_KEY
-
Constructor Summary
Constructors Constructor Description DownloadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(DesktopAgent desktopAgent, String response)perform layout response processing.voidprocess(DesktopAgent desktop, Map<String,Object> jsonObject)perform AU response processing.
-
-
-
Field Detail
-
REGISTER_KEY
public static final String REGISTER_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public void process(DesktopAgent desktop, Map<String,Object> jsonObject)
Description copied from interface:UpdateResponseHandlerperform AU response processing.- Specified by:
processin interfaceUpdateResponseHandler- Parameters:
desktop- desktop agentjsonObject- the root jsonObjct map of the response
-
process
public void process(DesktopAgent desktopAgent, String response)
Description copied from interface:LayoutResponseHandlerperform layout response processing.- Specified by:
processin interfaceLayoutResponseHandlerresponse- RAW text of layout response (HTML/XHTML)
-
-