Class IngestExternalClientFactory
- java.lang.Object
-
- fr.gouv.vitam.common.external.client.VitamClientFactory<IngestExternalClient>
-
- fr.gouv.vitam.ingest.external.client.IngestExternalClientFactory
-
- All Implemented Interfaces:
VitamClientFactoryInterface<IngestExternalClient>
public class IngestExternalClientFactory extends VitamClientFactory<IngestExternalClient>
Ingest external client factory use to get client by type "rest" or "mock"
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fr.gouv.vitam.common.client.VitamClientFactoryInterface
VitamClientFactoryInterface.VitamClientType
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.external.client.VitamClientFactory
clientConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeMode(SecureClientConfiguration configuration)
static void
changeMode(java.lang.String configurationFile)
IngestExternalClient
getClient()
Get the default worker clientstatic IngestExternalClientFactory
getInstance()
Get the IngestExternalClientFactory instance-
Methods inherited from class fr.gouv.vitam.common.external.client.VitamClientFactory
changeResourcePath, changeServerPort, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
-
-
-
-
Method Detail
-
getClient
public IngestExternalClient getClient()
Get the default worker client- Returns:
- the default worker client
-
getInstance
public static IngestExternalClientFactory getInstance()
Get the IngestExternalClientFactory instance- Returns:
- the instance
-
changeMode
public static void changeMode(SecureClientConfiguration configuration)
- Parameters:
configuration
- null for MOCK
-
changeMode
public static void changeMode(java.lang.String configurationFile)
-
-