Package io.split.client
Class SplitFactoryImpl
- java.lang.Object
-
- io.split.client.SplitFactoryImpl
-
- All Implemented Interfaces:
SplitFactory
public class SplitFactoryImpl extends Object implements SplitFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSplitFactoryImpl(SplitClientConfig config)SplitFactoryImpl(String apiToken, SplitClientConfig config)protectedSplitFactoryImpl(String apiToken, SplitClientConfig config, CustomStorageWrapper customStorageWrapper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static SplitHttpClientbuildSplitHttpClient(String apiToken, SplitClientConfig config, SDKMetadata sdkMetadata, RequestDecorator requestDecorator)SplitClientclient()voiddestroy()booleanisDestroyed()SplitManagermanager()
-
-
-
Constructor Detail
-
SplitFactoryImpl
public SplitFactoryImpl(String apiToken, SplitClientConfig config) throws URISyntaxException, IOException
- Throws:
URISyntaxExceptionIOException
-
SplitFactoryImpl
protected SplitFactoryImpl(String apiToken, SplitClientConfig config, CustomStorageWrapper customStorageWrapper) throws URISyntaxException
- Throws:
URISyntaxException
-
SplitFactoryImpl
protected SplitFactoryImpl(SplitClientConfig config)
-
-
Method Detail
-
client
public SplitClient client()
- Specified by:
clientin interfaceSplitFactory
-
manager
public SplitManager manager()
- Specified by:
managerin interfaceSplitFactory
-
destroy
public void destroy()
- Specified by:
destroyin interfaceSplitFactory
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyedin interfaceSplitFactory
-
buildSplitHttpClient
protected static SplitHttpClient buildSplitHttpClient(String apiToken, SplitClientConfig config, SDKMetadata sdkMetadata, RequestDecorator requestDecorator) throws URISyntaxException, IOException
- Throws:
URISyntaxExceptionIOException
-
-