org.pentaho.platform.util.web
Class HttpUtil
java.lang.Object
org.pentaho.platform.util.web.HttpUtil
public class HttpUtil
- extends Object
HttpUtil
public HttpUtil()
getClient
public static org.apache.commons.httpclient.HttpClient getClient()
getURLContent
public static boolean getURLContent(String url,
StringBuffer content)
throws MalformedURLException,
IOException
- Throws:
MalformedURLException
IOException
getURLContent_old
public static void getURLContent_old(String uri,
StringBuffer content)
throws MalformedURLException,
IOException
- Throws:
MalformedURLException
IOException
getURLContent
public static String getURLContent(String uri)
getURLInputStream
public static InputStream getURLInputStream(String uri)
getURLReader
public static Reader getURLReader(String uri)
parseQueryString
public static Map parseQueryString(String s)