Class MicrodataClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.String html)
        Specified by:
        newDocument in interface org.apache.sling.hapi.client.HtmlClient