Package com.couchbase.lite.internal
Class ImmutableURLEndpointListenerConfiguration
- java.lang.Object
-
- com.couchbase.lite.internal.ImmutableURLEndpointListenerConfiguration
-
public class ImmutableURLEndpointListenerConfiguration extends Object
A bit odd. Why are these properties not simply properties on the AbstractDatabase object? Because they are mandated by a spec: https://docs.google.com/document/d/16XmIOw7aZ_NcFc6Dy6fc1jV7sc994r6iv5qm9_J7qKo/edit#heading=h.kt1n12mtpzx4
-
-
Constructor Summary
Constructors Constructor Description ImmutableURLEndpointListenerConfiguration(URLEndpointListenerConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerAuthenticator
getAuthenticator()
Database
getDatabase()
String
getNetworkInterface()
int
getPort()
TLSIdentity
getTlsIdentity()
boolean
isDeltaSyncEnabled()
boolean
isReadOnly()
boolean
isTlsDisabled()
-
-
-
Constructor Detail
-
ImmutableURLEndpointListenerConfiguration
public ImmutableURLEndpointListenerConfiguration(@NonNull URLEndpointListenerConfiguration config)
-
-
Method Detail
-
getDatabase
@NonNull public Database getDatabase()
-
getNetworkInterface
@Nullable public String getNetworkInterface()
-
getTlsIdentity
@Nullable public TLSIdentity getTlsIdentity()
-
getAuthenticator
@Nullable public ListenerAuthenticator getAuthenticator()
-
getPort
public int getPort()
-
isTlsDisabled
public boolean isTlsDisabled()
-
isDeltaSyncEnabled
public boolean isDeltaSyncEnabled()
-
isReadOnly
public boolean isReadOnly()
-
-