public class ClientUtil extends Object
Constructor and Description |
---|
ClientUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.httpclient.HttpClient |
getClient(String userId,
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
|
public static org.apache.commons.httpclient.HttpClient getClient(String userId, 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
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.