public class StitchClientConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StitchClientConfiguration.Builder
A builder that can build a
StitchClientConfigurationobject. |
| Modifier and Type | Method and Description |
|---|---|
StitchClientConfiguration.Builder |
builder()
Gets the builder form of this configuration.
|
String |
getBaseUrl()
Gets the base URL of the Stitch server that the client will communicate with.
|
CodecRegistry |
getCodecRegistry()
Gets the codec registry used to encode/decode JSON.
|
String |
getDataDirectory()
Gets the local directory in which Stitch can store any data (e.g.
|
Long |
getDefaultRequestTimeout()
Gets the number of milliseconds that a `Transport` should spend by default on an HTTP round
trip before failing with an error.
|
NetworkMonitor |
getNetworkMonitor()
Gets the network monitor.
|
Storage |
getStorage()
Gets the underlying storage to persist client specific data to.
|
Transport |
getTransport()
Gets the
Transport that the client will use to make round trips to the Stitch server. |
public String getBaseUrl()
public Storage getStorage()
public String getDataDirectory()
public Transport getTransport()
Transport that the client will use to make round trips to the Stitch server.Transport that the client will use to make round trips to the Stitch
server.public Long getDefaultRequestTimeout()
public CodecRegistry getCodecRegistry()
public NetworkMonitor getNetworkMonitor()
public StitchClientConfiguration.Builder builder()