public class ConnectionInitializer extends Object
| Constructor and Description |
|---|
ConnectionInitializer() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
initConnection(String apiKey,
String cometBaseUrl,
int maxAuthRetries,
org.slf4j.Logger logger)
Builds properly configured Connection instance.
|
public Connection initConnection(String apiKey, String cometBaseUrl, int maxAuthRetries, org.slf4j.Logger logger)
apiKey - the Comet API keycometBaseUrl - the base URL of the Comet REST API servermaxAuthRetries - the maximum number of authentication retries.logger - the logger to be used for loggingCopyright © 2022. All rights reserved.