Package org.locationtech.geogig.web.api

Examples of org.locationtech.geogig.web.api.CommandResponse$ErrorLiteral


        command.addRemote(remote);

        try {
            final TransferSummary result = command.setAll(fetchAll).setPrune(prune).call();
            context.setResponseContent(new CommandResponse() {
                @Override
                public void write(ResponseWriter out) throws Exception {
                    out.start();
                    out.writeFetchResponse(result);
                    out.finish();
View Full Code Here


            return;
        }

        if (ref.isPresent()) {
            final Ref newRef = ref.get();
            context.setResponseContent(new CommandResponse() {

                @Override
                public void write(ResponseWriter out) throws Exception {
                    out.start();
                    out.writeRefParseResponse(newRef);
                    out.finish();
                }
            });
        } else {
            context.setResponseContent(new CommandResponse() {

                @Override
                public void write(ResponseWriter out) throws Exception {
                    out.start();
                    out.writeEmptyRefResponse();
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.web.api.CommandResponse$ErrorLiteral

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.