public final class CAPIServer extends Object
| Constructor and Description |
|---|
CAPIServer(Bucket bucket,
HttpAuthVerifier verifier) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getDddocApiInfo() |
static String |
makeError(String reasonStr) |
static String |
makeError(String errStr,
String reasonStr) |
static void |
makeNotFoundError(org.apache.http.HttpResponse response) |
static void |
makeNotFoundError(org.apache.http.HttpResponse response,
String detail) |
void |
register(HttpServer server) |
void |
removeDesign(DesignDocument design) |
void |
shutdown() |
public CAPIServer(Bucket bucket, HttpAuthVerifier verifier)
public void register(HttpServer server)
public void shutdown()
public void removeDesign(DesignDocument design)
public static void makeNotFoundError(org.apache.http.HttpResponse response)
public static void makeNotFoundError(org.apache.http.HttpResponse response,
String detail)
Copyright © 2017. All rights reserved.