public abstract class HttpConsoleOperation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
protected TasProperties |
properties |
protected String |
relativePath |
| Constructor and Description |
|---|
HttpConsoleOperation(String relativePath)
Pass the relative path of the "console" page, take a look at the implementation of
TenantConsole class |
| Modifier and Type | Method and Description |
|---|---|
org.jsoup.nodes.Element |
execute(org.apache.http.message.BasicNameValuePair command)
This is the method that will perform the actual POST command on alfresco console
|
protected org.jsoup.nodes.Document |
fullResponseDocument()
Perform the get request on console page.
|
protected String |
getAdminBasicAuthentication() |
protected String |
getAlfrescoConsolePath() |
org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
protected org.jsoup.nodes.Element |
parsedResponse() |
@Autowired protected TasProperties properties
protected static org.slf4j.Logger LOG
protected String relativePath
public HttpConsoleOperation(String relativePath)
TenantConsole classrelativePath - public org.apache.http.impl.client.CloseableHttpClient getHttpClient()
protected String getAlfrescoConsolePath()
protected String getAdminBasicAuthentication()
public org.jsoup.nodes.Element execute(org.apache.http.message.BasicNameValuePair command)
throws Exception
Exceptionprotected org.jsoup.nodes.Document fullResponseDocument()
throws Exception
Document object with entire HTML pageExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.