Package com.imaginea.mongodb.controllers.BaseController

Examples of com.imaginea.mongodb.controllers.BaseController.ResponseTemplate


        // Declare Response Objects and PrintWriter
        response.setContentType("application/x-json");
        PrintWriter out = response.getWriter();

        final String connectionId = request.getParameter("connectionId");
        String result = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
            public Object execute() throws Exception {
                Mongo mongoInstance = authService.getMongoInstance(connectionId);
                // Need a Db to get ServerStats
                DB db = mongoInstance.getDB("admin");
                String uri = request.getRequestURI();
View Full Code Here

TOP

Related Classes of com.imaginea.mongodb.controllers.BaseController.ResponseTemplate

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.