Class SiegfriedClientFactory
- java.lang.Object
-
- fr.gouv.vitam.common.client.VitamClientFactory<SiegfriedClient>
-
- fr.gouv.vitam.common.format.identification.siegfried.SiegfriedClientFactory
-
- All Implemented Interfaces:
VitamClientFactoryInterface<SiegfriedClient>
public class SiegfriedClientFactory extends VitamClientFactory<SiegfriedClient>
Siegfield Client factory
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeMode(ClientConfiguration configuration)
static void
changeMode(java.lang.String server, int port)
SiegfriedClient
getClient()
Get the default type Siegfried clientstatic SiegfriedClientFactory
getInstance()
Get the SiegfriedClientFactory instance-
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
-
-
-
-
Method Detail
-
getInstance
public static final SiegfriedClientFactory getInstance()
Get the SiegfriedClientFactory instance- Returns:
- the instance
-
getClient
public SiegfriedClient getClient()
Get the default type Siegfried client- Returns:
- the default Siegfried client
-
changeMode
public static final void changeMode(java.lang.String server, int port)
- Parameters:
server
- the server name to instanceport
- the server port to instance
-
changeMode
public static final void changeMode(ClientConfiguration configuration)
- Parameters:
configuration
- null for MOCK
-
-