er.ajax.json.client
Class JavaJSONClient
java.lang.Object
er.ajax.json.client.JavaJSONClient
public class JavaJSONClient
- extends 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
|
Method Summary |
static org.jabsorb.client.Client |
create(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 |
JavaJSONClient
public JavaJSONClient()
create
public static org.jabsorb.client.Client create(String jsonUrl,
boolean useHttpClient)
throws Exception
- Creates and returns a JSON Client.
- Parameters:
jsonUrl - the JSON service URLuseHttpClient - if true, Commons HTTPClient will be used instead of URLConnection (much better, but requires
HttpClient)
- Returns:
- the JSON client
- Throws:
Exception - if the client creation fails
Copyright © 2002 – 2011 Project Wonder.