Class CollectExternalClientFactory
java.lang.Object
fr.gouv.vitam.common.external.client.VitamClientFactory<CollectExternalClient>
fr.gouv.vitam.collect.external.client.CollectExternalClientFactory
- All Implemented Interfaces:
VitamClientFactoryInterface<CollectExternalClient>
Collect Client Factory class. Provide a rest or a mock version of the client
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
changeMode
(String configurationFile) This method returns the correct Client adapted to the business casestatic CollectExternalClientFactory
Get the AccessClientFactory instanceMethods 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
-
Constructor Details
-
CollectExternalClientFactory
protected CollectExternalClientFactory()
-
-
Method Details
-
getInstance
Get the AccessClientFactory instance- Returns:
- the instance
-
changeMode
- Parameters:
configurationFile
- Generate MOCK vitamClientType for null configuration
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-