Class TestVitamClientFactory<T extends BasicClient>

java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<T>
fr.gouv.vitam.common.client.TestVitamClientFactory<T>
Type Parameters:
T - BasicClient class
All Implemented Interfaces:
VitamClientFactoryInterface<T>

public class TestVitamClientFactory<T extends BasicClient> extends VitamClientFactory<T>
Default VitamClientFactory for Test purpose only
  • Field Details

  • Constructor Details

    • TestVitamClientFactory

      public TestVitamClientFactory(int serverPort, String resourcePath)
      Parameters:
      serverPort -
      resourcePath -
    • TestVitamClientFactory

      public TestVitamClientFactory(int serverPort, String resourcePath, javax.ws.rs.client.Client client)
      Parameters:
      serverPort -
      resourcePath -
      client -
  • Method Details

    • getClient

      public T getClient()
      Description copied from interface: VitamClientFactoryInterface
      This method returns the correct Client adapted to the business case
      Returns:
      the Vitam client