JavaJSONClient Class Reference

List of all members.

Static Public Member Functions

static Client create (String jsonUrl, boolean useHttpClient) throws Exception


Detailed Description

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

Member Function Documentation

static Client create ( String  jsonUrl,
boolean  useHttpClient 
) throws Exception [static]

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
Exceptions:
Exception if the client creation fails


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:41 2012 for Project Wonder by  doxygen 1.5.8