public class BellaDati extends Object
BellaDatiConnection
per server to
allow reuse of connection resources. Most client applications will connect
only to a single BellaDati server - BellaDati cloud or an on-premise
installation - meaning only one connection should be used.
The SDK uses default timeouts of 10 seconds which should work fine for most
servers and internet connections. For environments that require different
settings, timeouts and connection management can be configured using system
properties:
connect()
methods.Constructor and Description |
---|
BellaDati() |
Modifier and Type | Method and Description |
---|---|
static BellaDatiConnection |
connect()
Connects to the BellaDati cloud service.
|
static BellaDatiConnection |
connect(String baseUrl)
Connects to a BellaDati server hosted at the specified URL.
|
static BellaDatiConnection |
connectInsecure(String baseUrl)
Connects to a BellaDati server hosted at the specified URL.
|
public static BellaDatiConnection connect()
public static BellaDatiConnection connect(String baseUrl)
baseUrl
- URL of the BellaDati serverpublic static BellaDatiConnection connectInsecure(String baseUrl)
baseUrl
- URL of the BellaDati serverCopyright © 2014. All rights reserved.