Class FoundationClient

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

    public class FoundationClient
    extends ComponentClient
    This client is used to add new Foundation Components (see /libs/foundation/components in repository) to a page. The component functions are wrapped in subclasses of AbstractFoundationComponent.
    • Constructor Detail

      • FoundationClient

        public FoundationClient​(org.apache.http.impl.client.CloseableHttpClient http,
                                org.apache.sling.testing.clients.SlingClientConfig config)
                         throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • FoundationClient

        public FoundationClient​(URI serverUrl,
                                String user,
                                String password)
                         throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException