01: /* AuRequest.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: May 30, 2007 6:44:53 PM, Created by henrichen
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zkmob;
20:
21: import javax.microedition.lcdui.Display;
22:
23: import org.zkoss.zkmob.ui.ZkDesktop;
24:
25: /**
26: * @author henrichen
27: *
28: */
29: public class UpdateRequest implements Runnable {
30: private ZkDesktop _zk;
31: private String _url;
32: private String _request;
33:
34: public UpdateRequest(ZkDesktop zk, String url, String request) {
35: _zk = zk;
36: _url = url;
37: _request = request;
38: }
39:
40: public void run() {
41: _zk.update(_url, _request);
42: }
43: }
|