public class MicrodataClient extends SlingClient implements org.apache.sling.hapi.client.HtmlClient
SlingClient.Builder, SlingClient.InternalBuilder<T extends SlingClient>| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
DEFAULT_NODE_TYPE| Constructor and Description |
|---|
MicrodataClient(org.apache.http.impl.client.CloseableHttpClient http,
SlingClientConfig config) |
MicrodataClient(URI url,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.hapi.client.impl.microdata.MicrodataDocument |
delete(String url) |
org.apache.sling.hapi.client.impl.microdata.MicrodataDocument |
enter(String url) |
org.apache.sling.hapi.client.impl.microdata.MicrodataDocument |
get(String url) |
org.apache.sling.hapi.client.impl.microdata.MicrodataDocument |
newDocument(String html) |
org.apache.sling.hapi.client.impl.microdata.MicrodataDocument |
post(String url,
org.apache.http.HttpEntity entity) |
createFolder, createNode, createNodeRecursive, deletePath, doGetJson, exists, getJsonNode, getJsonNode, getNodeNameFromPath, getParentPath, getUUId, getUUID, importContent, importContent, importJson, move, setPropertiesString, setPropertyString, setPropertyStringArray, upload, waitExists, waitUntilExistsadaptTo, addValue, close, doDelete, doGet, doGet, doGet, doHead, doPatch, doPost, doPost, doPut, doRawRequest, doRequest, doStreamGet, doStreamPost, doStreamRequest, execute, execute, execute, execute, execute, execute, execute, execute, getClientId, getConnectionManager, getCookieStore, getCredentialsProvider, getParams, getPassword, getPath, getPath, getUrl, getUrl, getUrl, getUser, getValue, getValues, hasValuepublic MicrodataClient(org.apache.http.impl.client.CloseableHttpClient http,
SlingClientConfig config)
throws ClientException
ClientExceptionpublic MicrodataClient(URI url, String user, String password) throws ClientException
ClientExceptionpublic org.apache.sling.hapi.client.impl.microdata.MicrodataDocument enter(String url) throws org.apache.sling.hapi.client.ClientException
enter in interface org.apache.sling.hapi.client.HtmlClientorg.apache.sling.hapi.client.ClientExceptionpublic org.apache.sling.hapi.client.impl.microdata.MicrodataDocument get(String url) throws org.apache.sling.hapi.client.ClientException
get in interface org.apache.sling.hapi.client.HtmlClientorg.apache.sling.hapi.client.ClientExceptionpublic org.apache.sling.hapi.client.impl.microdata.MicrodataDocument post(String url, org.apache.http.HttpEntity entity) throws org.apache.sling.hapi.client.ClientException
post in interface org.apache.sling.hapi.client.HtmlClientorg.apache.sling.hapi.client.ClientExceptionpublic org.apache.sling.hapi.client.impl.microdata.MicrodataDocument delete(String url) throws org.apache.sling.hapi.client.ClientException
delete in interface org.apache.sling.hapi.client.HtmlClientorg.apache.sling.hapi.client.ClientExceptionpublic org.apache.sling.hapi.client.impl.microdata.MicrodataDocument newDocument(String html)
newDocument in interface org.apache.sling.hapi.client.HtmlClientCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.