public class HttpAutomationClient extends AbstractAutomationClient
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.http.impl.client.DefaultHttpClient |
http |
static OperationRegistry |
sharedRegistry |
static Object |
sharedRegistrySynchronizer |
static long |
sharedRegistryUpdateTimestamp |
adapters, registry, requestInterceptor, url| Constructor and Description |
|---|
HttpAutomationClient(String url) |
| Modifier and Type | Method and Description |
|---|---|
protected Session |
createSession(Connector connector,
LoginInfo login) |
Session |
getSession()
Creates a new session.
|
org.apache.http.client.HttpClient |
http() |
protected Connector |
newConnector() |
void |
setProxy(String host,
int port) |
void |
shutdown()
Cleanup any resources held by this client.
|
asyncExec, connect, getAdapter, getBaseUrl, getRegistry, getRequestInterceptor, getSession, getSession, getSession, getSession, getSession, getSession, getSession, getSession, login, registerAdapter, setBasicAuth, setRequestInterceptorprotected org.apache.http.impl.client.DefaultHttpClient http
public static OperationRegistry sharedRegistry
public static Object sharedRegistrySynchronizer
public static long sharedRegistryUpdateTimestamp
public HttpAutomationClient(String url)
public void setProxy(String host, int port)
public org.apache.http.client.HttpClient http()
public Session getSession()
AutomationClientgetSession in interface AutomationClientgetSession in class AbstractAutomationClientprotected Session createSession(Connector connector, LoginInfo login)
createSession in class AbstractAutomationClientpublic void shutdown()
AutomationClientshutdown in interface AutomationClientshutdown in class AbstractAutomationClientprotected Connector newConnector()
newConnector in class AbstractAutomationClientCopyright © 2021. All rights reserved.