public class HttpAutomationClient extends AbstractAutomationClient
| Modifier and Type | Field and Description |
|---|---|
static Object |
sharedRegistrySynchronizer
Shared registry synchronizer.
|
adapters, registry, requestInterceptor, url| Constructor and Description |
|---|
HttpAutomationClient(String url,
org.osivia.portal.core.cms.Satellite satellite)
Constructor.
|
| 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, setRequestInterceptorpublic static Object sharedRegistrySynchronizer
public HttpAutomationClient(String url, org.osivia.portal.core.cms.Satellite satellite)
url - URLsatelliteName - satellite namepublic void setProxy(String host, int port)
public org.apache.http.client.HttpClient http()
public Session getSession()
getSession 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 © 2019. All rights reserved.