Constant Field Values
Contents
com.couchbase.*
-
com.couchbase.lite.AbstractReplicatorConfiguration Modifier and Type Constant Field Value public static final int
DISABLE_HEARTBEAT
2147483
-
com.couchbase.lite.Blob Modifier and Type Constant Field Value public static final String
ENCODER_ARG_DB
"BLOB.db"
public static final String
ENCODER_ARG_QUERY_PARAM
"BLOB.queryParam"
-
com.couchbase.lite.CBLError.Code Modifier and Type Constant Field Value public static final int
ASSERTION_FAILED
1
public static final int
BAD_DOC_ID
29
public static final int
BAD_REVISION_ID
4
public static final int
BUSY
16
public static final int
CANT_OPEN_FILE
11
public static final int
CANT_UPGRADE_DATABASE
30
public static final int
CONFLICT
8
public static final int
CORRUPT_DATA
15
public static final int
CORRUPT_REVISION_DATA
5
public static final int
CRYPTO
22
public static final int
DATABASE_TOO_NEW
28
public static final int
DATABASE_TOO_OLD
27
public static final int
DNS_FAILURE
5001
public static final int
HTTP_AUTH_REQUIRED
10401
public static final int
HTTP_BASE
10000
public static final int
HTTP_CONFLICT
10409
public static final int
HTTP_ENTITY_TOO_LARGE
10413
public static final int
HTTP_FORBIDDEN
10403
public static final int
HTTP_IM_A_TEAPOT
10418
public static final int
HTTP_INTERNAL_SERVER_ERROR
10500
public static final int
HTTP_NOT_FOUND
10404
public static final int
HTTP_NOT_IMPLEMENTED
10501
public static final int
HTTP_PROXY_AUTH_REQUIRED
10407
public static final int
HTTP_SERVICE_UNAVAILABLE
10503
public static final int
INVALID_PARAMETER
9
public static final int
INVALID_QUERY
23
public static final int
INVALID_QUERY_PARAM
25
public static final int
INVALID_REDIRECT
5012
public static final int
INVALID_URL
5004
public static final int
IO_ERROR
12
public static final int
MEMORY_ERROR
13
public static final int
MISSING_INDEX
24
public static final int
NETWORK_OFFSET
5000
public static final int
NOT_A_DATABASE_FILE
20
public static final int
NOT_FOUND
7
public static final int
NOT_IN_TRANSACTION
17
public static final int
NOT_OPEN
6
public static final int
NOT_WRITABLE
14
public static final int
REMOTE_ERROR
26
public static final int
TIMEOUT
5003
public static final int
TLS_CERT_EXPIRED
5007
public static final int
TLS_CERT_UNKNOWN_ROOT
5011
public static final int
TLS_CERT_UNTRUSTED
5008
public static final int
TLS_CLIENT_CERT_REJECTED
5010
public static final int
TLS_CLIENT_CERT_REQUIRED
5009
public static final int
TLS_HANDSHAKE_FAILED
5006
public static final int
TOO_MANY_REDIRECTS
5005
public static final int
TRANSACTION_NOT_CLOSED
18
public static final int
UNEXPECTED_ERROR
10
public static final int
UNIMPLEMENTED
2
public static final int
UNKNOWN_HOST
5002
public static final int
UNSUPPORTED
19
public static final int
UNSUPPORTED_ENCRYPTION
3
public static final int
WEB_SOCKET_ABNORMAL_CLOSE
11006
public static final int
WEB_SOCKET_BAD_MESSAGE_FORMAT
11007
public static final int
WEB_SOCKET_CANT_FULFILL
11011
public static final int
WEB_SOCKET_CLOSE_USER_PERMANENT
14002
public static final int
WEB_SOCKET_CLOSE_USER_TRANSIENT
14001
public static final int
WEB_SOCKET_DATA_ERROR
11003
public static final int
WEB_SOCKET_GOING_AWAY
11001
public static final int
WEB_SOCKET_MESSAGE_TOO_BIG
11009
public static final int
WEB_SOCKET_MISSING_EXTENSION
11010
public static final int
WEB_SOCKET_NORMAL_CLOSE
11000
public static final int
WEB_SOCKET_POLICY_ERROR
11008
public static final int
WEB_SOCKET_PROTOCOL_ERROR
11002
public static final int
WEB_SOCKET_TLS_FAILURE
11015
public static final int
WEB_SOCKET_USER
14000
public static final int
WRONG_FORMAT
21
-
com.couchbase.lite.CBLError.Domain Modifier and Type Constant Field Value public static final String
CBLITE
"CouchbaseLite"
public static final String
FLEECE
"CouchbaseLite.Fleece"
public static final String
POSIX
"POSIXErrorDomain"
public static final String
SQLITE
"CouchbaseLite.SQLite"
-
com.couchbase.lite.KeyStoreUtils Modifier and Type Constant Field Value public static final String
ANDROID_KEY_STORE
"AndroidKeyStore"
-
com.couchbase.lite.URLEndpointListenerConfiguration Modifier and Type Constant Field Value public static final int
MAX_PORT
65535
public static final int
MIN_PORT
0
-
com.couchbase.lite.internal.BaseTLSIdentity Modifier and Type Constant Field Value public static final String
CERT_ATTRIBUTE_COMMON_NAME
"CN"
public static final String
CERT_ATTRIBUTE_COUNTRY
"C"
public static final String
CERT_ATTRIBUTE_EMAIL_ADDRESS
"rfc822Name"
public static final String
CERT_ATTRIBUTE_GIVEN_NAME
"GN"
public static final String
CERT_ATTRIBUTE_HOSTNAME
"dNSName"
public static final String
CERT_ATTRIBUTE_IP_ADDRESS
"iPAddress"
public static final String
CERT_ATTRIBUTE_LOCALITY
"locality"
public static final String
CERT_ATTRIBUTE_ORGANIZATION
"O"
public static final String
CERT_ATTRIBUTE_ORGANIZATION_UNIT
"OU"
public static final String
CERT_ATTRIBUTE_POSTAL_ADDRESS
"postalAddress"
public static final String
CERT_ATTRIBUTE_POSTAL_CODE
"postalCode"
public static final String
CERT_ATTRIBUTE_PSEUDONYM
"pseudonym"
public static final String
CERT_ATTRIBUTE_REGISTERED_ID
"registeredID"
public static final String
CERT_ATTRIBUTE_STATE_OR_PROVINCE
"ST"
public static final String
CERT_ATTRIBUTE_SURNAME
"SN"
public static final String
CERT_ATTRIBUTE_URL
"uniformResourceIdentifier"
-
com.couchbase.lite.internal.CBLInternalException Modifier and Type Constant Field Value public static final int
FAILED_SELECTING_CONFLICTING_REVISION
-101
-
com.couchbase.lite.internal.CouchbaseLiteInternal Modifier and Type Constant Field Value public static final String
SCRATCH_DIR_NAME
"CouchbaseLiteTemp"
-
com.couchbase.lite.internal.KeyStoreManager Modifier and Type Constant Field Value public static final String
ANON_COMMON_NAME
"CBLAnonymousCertificate"
public static final int
ANON_EXPIRATION_YEARS
1
public static final String
ANON_IDENTITY_ALIAS
"CBL-ANON-"
-
com.couchbase.lite.internal.core.C4Constants.DatabaseFlags Modifier and Type Constant Field Value public static final int
AUTO_COMPACT
4
public static final int
CREATE
1
public static final int
NO_UPGRADE
32
public static final int
NON_OBSERVABLE
64
public static final int
READ_ONLY
2
public static final int
SHARED_KEYS
16
-
com.couchbase.lite.internal.core.C4Constants.DocumentFlags Modifier and Type Constant Field Value public static final int
CONFLICTED
2
public static final int
DELETED
1
public static final int
EXISTS
4096
public static final int
HAS_ATTACHMENTS
4
-
com.couchbase.lite.internal.core.C4Constants.EncryptionAlgorithm Modifier and Type Constant Field Value public static final int
AES256
1
public static final int
NONE
0
-
com.couchbase.lite.internal.core.C4Constants.EncryptionKeySize Modifier and Type Constant Field Value public static final int
AES256
32
-
com.couchbase.lite.internal.core.C4Constants.EnumeratorFlags Modifier and Type Constant Field Value public static final int
DEFAULT
48
public static final int
DESCENDING
1
public static final int
INCLUDE_BODIES
32
public static final int
INCLUDE_DELETED
8
public static final int
INCLUDE_NON_CONFLICTED
16
public static final int
INCLUDE_REV_HISTORY
64
public static final int
UNSORTED
2
-
com.couchbase.lite.internal.core.C4Constants.ErrorDomain Modifier and Type Constant Field Value public static final int
FLEECE
4
public static final int
LITE_CORE
1
public static final int
MAX_ERROR_DOMAINS
7
public static final int
MBED_TLS
7
public static final int
NETWORK
5
public static final int
POSIX
2
public static final int
SQLITE
3
public static final int
UNUSED
8
public static final int
WEB_SOCKET
6
-
com.couchbase.lite.internal.core.C4Constants.HttpError Modifier and Type Constant Field Value public static final int
AUTH_REQUIRED
401
public static final int
CONFLICT
409
public static final int
ENTITY_TOO_LARGE
413
public static final int
FORBIDDEN
403
public static final int
IM_A_TEAPOT
418
public static final int
INTERNAL_SERVER_ERROR
500
public static final int
MULTIPLE_CHOICE
300
public static final int
NOT_FOUND
404
public static final int
NOT_IMPLEMENTED
501
public static final int
PROXY_AUTH_REQUIRED
407
public static final int
SERVICE_UNAVAILABLE
503
public static final int
STATUS_MAX
600
public static final int
STATUS_MIN
100
public static final int
SWITCH_PROTOCOL
101
-
com.couchbase.lite.internal.core.C4Constants.IndexType Modifier and Type Constant Field Value public static final int
ARRAY
2
public static final int
FULL_TEXT
1
public static final int
PREDICTIVE
3
public static final int
VALUE
0
-
com.couchbase.lite.internal.core.C4Constants.LiteCoreError Modifier and Type Constant Field Value public static final int
ASSERTION_FAILED
1
public static final int
BAD_DOC_ID
29
public static final int
BAD_REVISION_ID
4
public static final int
BUSY
16
public static final int
CANT_OPEN_FILE
11
public static final int
CANT_UPGRADE_DATABASE
30
public static final int
CONFLICT
8
public static final int
CORRUPT_DATA
15
public static final int
CORRUPT_DELTA
32
public static final int
CORRUPT_REVISION_DATA
5
public static final int
CRYPTO
22
public static final int
DATABASE_TOO_NEW
28
public static final int
DATABASE_TOO_OLD
27
public static final int
DELTA_BASE_UNKNOWN
31
public static final int
INVALID_PARAMETER
9
public static final int
INVALID_QUERY
23
public static final int
INVALID_QUERY_PARAM
25
public static final int
IO_ERROR
12
public static final int
MAX_ERROR_CODES
32
public static final int
MEMORY_ERROR
13
public static final int
MISSING_INDEX
24
public static final int
NOT_A_DATABASE_FILE
20
public static final int
NOT_FOUND
7
public static final int
NOT_IN_TRANSACTION
17
public static final int
NOT_OPEN
6
public static final int
NOT_WRITABLE
14
public static final int
REMOTE_ERROR
26
public static final int
SUCCESS
0
public static final int
TRANSACTION_NOT_CLOSED
18
public static final int
UNEXPECTED_ERROR
10
public static final int
UNIMPLEMENTED
2
public static final int
UNSUPPORTED
19
public static final int
UNSUPPORTED_ENCRYPTION
3
public static final int
UNUSED
33
public static final int
WRONG_FORMAT
21
-
com.couchbase.lite.internal.core.C4Constants.LogDomain Modifier and Type Constant Field Value public static final String
BLIP
"BLIP"
public static final String
DATABASE
"DB"
public static final String
LISTENER
"Listener"
public static final String
QUERY
"Query"
public static final String
SQL
"SQL"
public static final String
SYNC
"Sync"
public static final String
SYNC_BUSY
"SyncBusy"
public static final String
TLS
"TLS"
public static final String
WEB_SOCKET
"WS"
public static final String
ZIP
"Zip"
-
com.couchbase.lite.internal.core.C4Constants.LogLevel Modifier and Type Constant Field Value public static final int
DEBUG
0
public static final int
ERROR
4
public static final int
INFO
2
public static final int
NONE
5
public static final int
VERBOSE
1
public static final int
WARNING
3
-
com.couchbase.lite.internal.core.C4Constants.NetworkError Modifier and Type Constant Field Value public static final int
ADDRESS_NOT_AVAILABLE
25
public static final int
BROKEN_PIPE
26
public static final int
CONNECTION_ABORTED
17
public static final int
CONNECTION_REFUSED
19
public static final int
CONNECTION_RESET
18
public static final int
DNS_FAILURE
1
public static final int
HOST_DOWN
23
public static final int
HOST_UNREACHABLE
24
public static final int
INVALID_REDIRECT
12
public static final int
INVALID_URL
4
public static final int
NETWORK_DOWN
20
public static final int
NETWORK_RESET
16
public static final int
NETWORK_UNREACHABLE
21
public static final int
NOT_CONNECTED
22
public static final int
TIMEOUT
3
public static final int
TLS_CERT_EXPIRED
7
public static final int
TLS_CERT_NAME_MISMATCH
15
public static final int
TLS_CERT_REVOKED
14
public static final int
TLS_CERT_UNKNOWN_ROOT
11
public static final int
TLS_CERT_UNTRUSTED
8
public static final int
TLS_CLIENT_CERT_REJECTED
10
public static final int
TLS_CLIENT_CERT_REQUIRED
9
public static final int
TLS_HANDSHAKE_FAILED
6
public static final int
TOO_MANY_REDIRECTS
5
public static final int
UNKNOWN
13
public static final int
UNKNOWN_HOST
2
public static final int
UNUSED
27
-
com.couchbase.lite.internal.core.C4Constants.RevisionFlags Modifier and Type Constant Field Value public static final int
CLOSED
64
public static final int
DELETED
1
public static final int
HAS_ATTACHMENTS
8
public static final int
IS_CONFLICT
32
public static final int
KEEP_BODY
16
public static final int
LEAF
2
public static final int
NEW
4
public static final int
PURGED
128
-
com.couchbase.lite.internal.core.C4Constants.WebSocketError Modifier and Type Constant Field Value public static final int
ABNORMAL_CLOSE
1006
public static final int
BAD_MESSAGE_FORMAT
1007
public static final int
CANT_FULFILL
1011
public static final int
DATA_ERROR
1003
public static final int
GOING_AWAY
1001
public static final int
MESSAGE_TO_BIG
1009
public static final int
MISSING_EXTENSION
1010
public static final int
NO_CODE
1005
public static final int
NORMAL
1000
public static final int
POLICY_ERROR
1008
public static final int
PROTOCOL_ERROR
1002
public static final int
TLS_FAILURE
1015
public static final int
USER
4000
public static final int
USER_PERMANENT
4002
public static final int
USER_TRANSIENT
4001
-
com.couchbase.lite.internal.core.C4Database Modifier and Type Constant Field Value public static final String
DB_EXTENSION
".cblite2"
-
com.couchbase.lite.internal.core.C4Listener Modifier and Type Constant Field Value public static final String
AUTH_MODE_BASIC
"Basic"
-
com.couchbase.lite.internal.core.C4Listener.NativeImpl Modifier and Type Constant Field Value public static final int
SYNC_API
2
-
com.couchbase.lite.internal.core.C4Replicator Modifier and Type Constant Field Value public static final String
AUTH_TYPE_BASIC
"Basic"
public static final String
AUTH_TYPE_CLIENT_CERT
"Client Cert"
public static final String
AUTH_TYPE_FACEBOOK
"Facebook"
public static final String
AUTH_TYPE_OPEN_ID_CONNECT
"OpenID Connect"
public static final String
AUTH_TYPE_SESSION
"Session"
public static final String
C4_REPLICATOR_SCHEME_2
"blip"
public static final String
C4_REPLICATOR_TLS_SCHEME_2
"blips"
public static final String
MESSAGE_SCHEME
"x-msg-endpt"
public static final int
PROGRESS_OVERALL
0
public static final int
PROGRESS_PER_ATTACHMENT
2
public static final int
PROGRESS_PER_DOC
1
public static final String
REPLICATOR_AUTH_CLIENT_CERT
"clientCert"
public static final String
REPLICATOR_AUTH_CLIENT_CERT_KEY
"clientCertKey"
public static final String
REPLICATOR_AUTH_PASSWORD
"password"
public static final String
REPLICATOR_AUTH_TOKEN
"token"
public static final String
REPLICATOR_AUTH_TYPE
"type"
public static final String
REPLICATOR_AUTH_USER_NAME
"username"
public static final String
REPLICATOR_CHECKPOINT_INTERVAL
"checkpointInterval"
public static final String
REPLICATOR_HEARTBEAT_INTERVAL
"heartbeat"
public static final String
REPLICATOR_OPTION_AUTHENTICATION
"auth"
public static final String
REPLICATOR_OPTION_CHANNELS
"channels"
public static final String
REPLICATOR_OPTION_COOKIES
"cookies"
public static final String
REPLICATOR_OPTION_DISABLE_DELTAS
"noDeltas"
public static final String
REPLICATOR_OPTION_DOC_IDS
"docIDs"
public static final String
REPLICATOR_OPTION_ENABLE_AUTO_PURGE
"autoPurge"
public static final String
REPLICATOR_OPTION_EXTRA_HEADERS
"headers"
public static final String
REPLICATOR_OPTION_FILTER
"filter"
public static final String
REPLICATOR_OPTION_FILTER_PARAMS
"filterParams"
public static final String
REPLICATOR_OPTION_MAX_RETRIES
"maxRetries"
public static final String
REPLICATOR_OPTION_MAX_RETRY_INTERVAL
"maxRetryInterval"
public static final String
REPLICATOR_OPTION_NO_INCOMING_CONFLICTS
"noIncomingConflicts"
public static final String
REPLICATOR_OPTION_OUTGOING_CONFLICTS
"outgoingConflicts"
public static final String
REPLICATOR_OPTION_PINNED_SERVER_CERT
"pinnedCert"
public static final String
REPLICATOR_OPTION_PROGRESS_LEVEL
"progress"
public static final String
REPLICATOR_OPTION_PROXY_SERVER
"proxy"
public static final String
REPLICATOR_OPTION_REMOTE_DB_UNIQUE_ID
"remoteDBUniqueID"
public static final String
REPLICATOR_OPTION_ROOT_CERTS
"rootCerts"
public static final String
REPLICATOR_OPTION_SELF_SIGNED_SERVER_CERT
"onlySelfSignedServer"
public static final String
REPLICATOR_OPTION_SKIP_DELETED
"skipDeleted"
public static final String
SOCKET_OPTION_WS_PROTOCOLS
"WS-Protocols"
public static final String
WEBSOCKET_SCHEME
"ws"
public static final String
WEBSOCKET_SECURE_CONNECTION_SCHEME
"wss"
-
com.couchbase.lite.internal.core.C4ReplicatorStatus.ActivityLevel Modifier and Type Constant Field Value public static final int
BUSY
4
public static final int
CONNECTING
2
public static final int
IDLE
3
public static final int
OFFLINE
1
public static final int
STOPPED
0
-
com.couchbase.lite.internal.core.C4Socket Modifier and Type Constant Field Value public static final int
NO_FRAMING
1
public static final int
WEB_SOCKET_CLIENT_FRAMING
0
public static final int
WEB_SOCKET_SERVER_FRAMING
2
-
com.couchbase.lite.internal.core.InternalCertAuthenticator Modifier and Type Constant Field Value public static final String
BEGIN_CERT
"-----BEGIN CERTIFICATE-----"
public static final String
END_CERT
"-----END CERTIFICATE-----"
-
com.couchbase.lite.internal.fleece.FLConstants.Error Modifier and Type Constant Field Value public static final int
ENCODE_ERROR
4
public static final int
INTERNAL_ERROR
7
public static final int
INVALID_DATA
3
public static final int
JSON_ERROR
5
public static final int
MEMORY_ERROR
1
public static final int
NO_ERROR
0
public static final int
NOT_FOUND
8
public static final int
OUT_OF_RANGE
2
public static final int
UNKNOWN_VALUE
6
-
com.couchbase.lite.internal.fleece.FLConstants.ValueType Modifier and Type Constant Field Value public static final int
ARRAY
5
public static final int
BOOLEAN
1
public static final int
DATA
4
public static final int
DICT
6
public static final int
NULL
0
public static final int
NUMBER
2
public static final int
STRING
3
public static final int
UNDEFINED
-1
-
com.couchbase.lite.internal.replicator.AbstractCBLWebSocket Modifier and Type Constant Field Value public static final int
DEFAULT_HEARTBEAT_SEC
300
-
com.couchbase.lite.internal.support.Log Modifier and Type Constant Field Value public static final String
LOG_HEADER
"[JAVA] "
-
com.couchbase.lite.internal.utils.StringUtils Modifier and Type Constant Field Value public static final String
ALPHA
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
public static final String
NUMERIC
"0123456789"