Package com.google.nigori.common.NigoriMessages

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


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

      String json = getJsonAsString(req, maxJsonQueryLength);

      GetIndicesRequest request = MessageLibrary.getIndicesRequestFromJson(json);

      String response = MessageLibrary.toJson(protocol.getIndices(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.GetIndicesRequest

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.