Examples of postToUrl()


Examples of org.infoglue.deliver.util.HttpHelper.postToUrl()

      Hashtable inHash = new Hashtable();
      inHash.put("fragment", markup);
      inHash.put("output", "json");
     
      HttpHelper httpHelper = new HttpHelper();
      String result = httpHelper.postToUrl(CmsPropertyHandler.getW3CValidationServiceUrl(), inHash, "utf-8");
      logger.info("result:" + result);
     
      this.getResponse().setContentType("text/json");
      this.getResponse().getWriter().print(result);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.