A CouchDBClient is the entry point to interacting with a CouchDB instance. The goal of the client is to abstract much of the HTTP client interaction as possible to allow higher level use and hide the details of the client. The lower level HTTP public APIs should not be used except by internal code. All 'path' parameters, unless otherwise specified, are relative to the root URL. All 'IOException's thrown in the client are due to HTTP errors, CouchDB specific errors are covered by CouchDBException. The Client does not perform any checking of CouchDBResponses for errors. All methods that return CouchDBResponses will never return null. A Client instance should always be closed when done to release pooled connections. Notes: * Using older httpclient 3.1, could upgrade to 4.x, but what impact on other libraries
@todo thread safety requirements?
@author Ian Schneider (OpenGeo)
@source $URL$
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.