HTTP http = new HTTP(url);
String content = send(args, http);
OutputStream os = new BufferedOutputStream(http.getOutputStream(content.length(), "text/xml"), 4000);
PrintWriter ps = !Log.verbose ?
new PrintWriter(os) :
HTTP http = new HTTP(url);
String content = send(args, http);
OutputStream os = new BufferedOutputStream(http.getOutputStream(content.length(), "text/xml"), 4000);
PrintWriter ps = !Log.verbose ?
new PrintWriter(os) :
public void write(int i) throws IOException {
super.write(i);
if (Log.on) Log.log(this, "send: " + ((char)i));
public void write(int i) throws IOException {
super.write(i);
if (Log.on) Log.log(this, "send: " + ((char)i));
StringBuffer content = new StringBuffer();
content.append("<?xml version=\"1.0\"?>\n");
content.append(" <methodCall>\n");
StringBuffer content = new StringBuffer();
content.append("<?xml version=\"1.0\"?>\n");
content.append(" <methodCall>\n");
public final Object call(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args) throws JavaScriptException {
public final Object call(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args) throws JavaScriptException {
// put ourselves in the background
Thread thread = Thread.currentThread();
if (!(thread instanceof ThreadMessage)) {
// put ourselves in the background
Thread thread = Thread.currentThread();
if (!(thread instanceof ThreadMessage)) {
} catch (IOException se) {
if (Log.on) Log.log(this, se);
} catch (IOException se) {
if (Log.on) Log.log(this, se);