return client;
}
public CouchClient getClient(CouchContext context, URL url, int versionMajor, int versionMinor) throws Exception {
CouchClientImpl client = new CouchClientImpl(context, url);
CouchServerVersionImpl serverVersion = new CouchServerVersionImpl(""+versionMajor+"."+versionMinor,versionMajor, versionMinor);
client.setVersion(serverVersion);
return client;
}