couchdb Ektorp java client Opening a connection to CouchDB


Example

HttpClient httpClient = new StdHttpClient.Builder().
    url("http://yourcouchdbhost:5984").
    username("admin").
    password("password").
    build();

CouchDbInstance dbInstance = new StdCouchDbInstance(httpClient);