List of usage examples for com.liferay.portal.kernel.util HttpUtil URLtoString
public static String URLtoString(String location, boolean post) throws IOException
From source file:com.liferay.jbi.mule.util.URLTransformComponent.java
License:Open Source License
public String getUrlResult(Map parameters, String url) { String xml = "<result />"; try {//from www. j a v a 2s . c o m for (Object key : parameters.keySet()) { url = HttpUtil.addParameter(url, (String) key, (String) parameters.get(key)); } xml = HttpUtil.URLtoString(url, true); } catch (Exception e) { } return xml; }