|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.util.client.ClientUtil
public class ClientUtil
Constructor Summary | |
---|---|
ClientUtil()
|
Method Summary | |
---|---|
static org.apache.commons.httpclient.HttpClient |
getClient(java.lang.String userId,
java.lang.String password)
Returns an instance of an HttpClient. |
static org.dom4j.Document |
getResultDom4jDocument(org.apache.commons.httpclient.HttpClient client,
org.apache.commons.httpclient.HttpMethod callMethod)
Submits an HTTP result with the provided HTTPMethod and returns a dom4j document of the response |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientUtil()
Method Detail |
---|
public static org.apache.commons.httpclient.HttpClient getClient(java.lang.String userId, java.lang.String password)
public static org.dom4j.Document getResultDom4jDocument(org.apache.commons.httpclient.HttpClient client, org.apache.commons.httpclient.HttpMethod callMethod) throws ServiceException
callMethod
-
ConnectionServiceException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |