Class OffloadingClient

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

    public class OffloadingClient
    extends CQClient
    Generic client
    • Constructor Detail

      • OffloadingClient

        public OffloadingClient​(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
      • OffloadingClient

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