Project Wonder 5.0

er.ajax.json.client
Class JavaJSONClient

java.lang.Object
  extended by er.ajax.json.client.JavaJSONClient

public class JavaJSONClient
extends java.lang.Object

If you are trying to communicate with a WO JSON server from another Java app, JavaJSONClient provides a factory for creating the appropiate JSON Client class.

Author:
mschrag

Constructor Summary
JavaJSONClient()
           
 
Method Summary
static org.jabsorb.client.Client create(java.lang.String jsonUrl, boolean useHttpClient)
          Creates and returns a JSON Client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaJSONClient

public JavaJSONClient()
Method Detail

create

public static org.jabsorb.client.Client create(java.lang.String jsonUrl,
                                               boolean useHttpClient)
                                        throws java.lang.Exception
Creates and returns a JSON Client.

Parameters:
jsonUrl - the JSON service URL
useHttpClient - if true, Commons HTTPClient will be used instead of URLConnection (much better, but requires HttpClient)
Returns:
the JSON client
Throws:
java.lang.Exception - if the client creation fails

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.