public final class ReplicatorConfiguration extends AbstractReplicatorConfiguration
AbstractReplicatorConfiguration.ReplicatorType
DISABLE_HEARTBEAT
Constructor and Description |
---|
ReplicatorConfiguration(Database database,
Endpoint target) |
ReplicatorConfiguration(ReplicatorConfiguration config) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptOnlySelfSignedServerCertificate()
Return whether the replicator will accept any and only self-signed server certificates.
|
ReplicatorConfiguration |
setAcceptOnlySelfSignedServerCertificate(boolean acceptOnlySelfSignedServerCertificate)
Specify whether the replicator will accept any and only self-signed certificates.
|
getAuthenticator, getChannels, getConflictResolver, getDatabase, getDocumentIDs, getHeaders, getHeartbeat, getMaxAttempts, getMaxAttemptWaitTime, getPinnedServerCertificate, getPullFilter, getPushFilter, getReplicatorType, getTarget, getType, isAcceptParentDomainCookies, isAutoPurgeEnabled, isContinuous, setAcceptParentDomainCookies, setAuthenticator, setAutoPurgeEnabled, setChannels, setConflictResolver, setContinuous, setDocumentIDs, setHeaders, setHeartbeat, setMaxAttempts, setMaxAttemptWaitTime, setPinnedServerCertificate, setPullFilter, setPushFilter, setReplicatorType, setType, toString
public ReplicatorConfiguration(@NonNull Database database, @NonNull Endpoint target)
public ReplicatorConfiguration(@NonNull ReplicatorConfiguration config)
@NonNull public ReplicatorConfiguration setAcceptOnlySelfSignedServerCertificate(boolean acceptOnlySelfSignedServerCertificate)
acceptOnlySelfSignedServerCertificate
- Whether the replicator will accept
any and only self-signed certificates.public boolean isAcceptOnlySelfSignedServerCertificate()