Package fr.gouv.vitam.common.client
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>
Default VitamClientFactory for Test purpose only
-
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.client.VitamClientFactory
clientConfiguration
-
Constructor Summary
ConstructorDescriptionTestVitamClientFactory
(int serverPort, String resourcePath) TestVitamClientFactory
(int serverPort, String resourcePath, javax.ws.rs.client.Client client) -
Method Summary
Methods inherited from class fr.gouv.vitam.common.client.VitamClientFactory
changeResourcePath, changeServerPort, disableUseAuthorizationFilter, enableUseAuthorizationFilter, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, getVitamThreadPoolExecutor, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
-
Field Details
-
LOCALHOST
localhost- See Also:
-
-
Constructor Details
-
TestVitamClientFactory
- Parameters:
serverPort
-resourcePath
-
-
TestVitamClientFactory
public TestVitamClientFactory(int serverPort, String resourcePath, javax.ws.rs.client.Client client) - Parameters:
serverPort
-resourcePath
-client
-
-
-
Method Details
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-