org.pentaho.platform.util.web
Class HttpUtil

java.lang.Object
  extended by org.pentaho.platform.util.web.HttpUtil

public class HttpUtil
extends Object


Constructor Summary
HttpUtil()
           
 
Method Summary
static HttpClient getClient()
           
static void getURLContent_old(String uri, StringBuffer content)
           
static String getURLContent(String uri)
           
static boolean getURLContent(String url, StringBuffer content)
           
static InputStream getURLInputStream(String uri)
           
static Reader getURLReader(String uri)
           
static Map parseQueryString(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtil

public HttpUtil()
Method Detail

getClient

public static 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)