All Projects → couchbase → Couchbase Lite Java Listener

couchbase / Couchbase Lite Java Listener

Licence: apache-2.0
Embedded web server to expose Couchbase Lite REST API on an http socket

Programming Languages

java
68154 projects - #9 most used programming language

couchbase-lite-java-listener

This provides a webserver wrapper around Couchbase-Lite so that it can be called via HTTP REST calls.

How to add to your project

This can be added either via a source dependency or a maven artifact dependency.

See the couchbase-lite-android-liteserv, which provides an example with both dependency styles.

TJWS dependency

Couchbase-lite android depends on the Tiny Java Web Server and Servlet Container. See libs-src/Webserver-194-README.md for more details.

Ektorp Gotchas

If you are connecting to CBLiteListener from a client that uses Ektorp, you may run into issues: issue #5, issue #7, or issue #8.

The workaround is to call:

StdHttpClient.Builder builder = new StdHttpClient.Builder().host(hostName).port(port).useExpectContinue(false);
return builder.build();

(the key point being to use useExpectContinue(false))

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].