Package com.google.nigori.common.NigoriMessages

Examples of com.google.nigori.common.NigoriMessages.GetRevisionsRequest


    public void handle(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
        IOException, NotFoundException, UnauthorisedException, JsonConversionException {

      String json = getJsonAsString(req, maxJsonQueryLength);

      GetRevisionsRequest request = MessageLibrary.getRevisionsRequestFromJson(json);

      String response = MessageLibrary.toJson(protocol.getRevisions(request));
      resp.setContentType(MessageLibrary.MIMETYPE_JSON);
      resp.setCharacterEncoding(MessageLibrary.CHARSET);
      resp.setStatus(HttpServletResponse.SC_OK);
View Full Code Here

TOP

Related Classes of com.google.nigori.common.NigoriMessages.GetRevisionsRequest

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.