Class MicrodataClient

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.http.client.HttpClient, org.apache.sling.hapi.client.HtmlClient

    public class MicrodataClient
    extends SlingClient
    implements org.apache.sling.hapi.client.HtmlClient
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Method Detail

      • enter

        public org.apache.sling.hapi.client.impl.microdata.MicrodataDocument enter​(String url)
                                                                            throws org.apache.sling.hapi.client.ClientException
        Specified by:
        enter in interface org.apache.sling.hapi.client.HtmlClient
        Throws:
        org.apache.sling.hapi.client.ClientException
      • get

        public org.apache.sling.hapi.client.impl.microdata.MicrodataDocument get​(String url)
                                                                          throws org.apache.sling.hapi.client.ClientException
        Specified by:
        get in interface org.apache.sling.hapi.client.HtmlClient
        Throws:
        org.apache.sling.hapi.client.ClientException
      • post

        public org.apache.sling.hapi.client.impl.microdata.MicrodataDocument post​(String url,
                                                                                  org.apache.http.HttpEntity entity)
                                                                           throws org.apache.sling.hapi.client.ClientException
        Specified by:
        post in interface org.apache.sling.hapi.client.HtmlClient
        Throws:
        org.apache.sling.hapi.client.ClientException
      • delete

        public org.apache.sling.hapi.client.impl.microdata.MicrodataDocument delete​(String url)
                                                                             throws org.apache.sling.hapi.client.ClientException
        Specified by:
        delete in interface org.apache.sling.hapi.client.HtmlClient
        Throws:
        org.apache.sling.hapi.client.ClientException
      • newDocument

        public org.apache.sling.hapi.client.impl.microdata.MicrodataDocument newDocument​(String html)
        Specified by:
        newDocument in interface org.apache.sling.hapi.client.HtmlClient