Package com.couchbase.capi.servlet

Examples of com.couchbase.capi.servlet.ClusterMapServlet


        context.setContextPath("/");
        context.setSecurityHandler(basicAuth(username, password, "Couchbase Server Admin / REST"));
        setHandler(context);

        context.addServlet(new ServletHolder(new StatsServlet(couchbaseBehavior, capiBehavior)), "/_stats");
        context.addServlet(new ServletHolder(new ClusterMapServlet(couchbaseBehavior)),
                "/pools/*");
        context.addServlet(new ServletHolder(new BucketMapServlet(
                couchbaseBehavior, numVbuckets)), "/pools/default/buckets/*");
        context.addServlet(
                new ServletHolder(new CAPIServlet(capiBehavior)), "/*");
 
View Full Code Here

TOP

Related Classes of com.couchbase.capi.servlet.ClusterMapServlet

Copyright © 2018 www.massapicom. All rights reserved.
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.