Package | Description |
---|---|
com.marklogic.client |
The package provides the core classes,
interfaces and exceptions for working with the database.
|
Modifier and Type | Method and Description |
---|---|
DatabaseClientBuilder |
DatabaseClientBuilder.withAuthType(java.lang.String type) |
DatabaseClientBuilder |
DatabaseClientBuilder.withBasePath(java.lang.String basePath) |
DatabaseClientBuilder |
DatabaseClientBuilder.withBasicAuth(java.lang.String username,
java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCertificateAuth(javax.net.ssl.SSLContext sslContext,
javax.net.ssl.X509TrustManager trustManager) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCertificateAuth(java.lang.String file,
java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCertificateFile(java.lang.String file) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCertificatePassword(java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCloudApiKey(java.lang.String cloudApiKey) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCloudAuth(java.lang.String apiKey,
java.lang.String basePath) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCloudAuth(java.lang.String apiKey,
java.lang.String basePath,
java.lang.Integer tokenDuration) |
DatabaseClientBuilder |
DatabaseClientBuilder.withCloudTokenDuration(java.lang.String tokenDuration) |
DatabaseClientBuilder |
DatabaseClientBuilder.withConnectionType(DatabaseClient.ConnectionType type) |
DatabaseClientBuilder |
DatabaseClientBuilder.withDatabase(java.lang.String database) |
DatabaseClientBuilder |
DatabaseClientBuilder.withDigestAuth(java.lang.String username,
java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withGzippedResponsesDisabled()
Prevents the underlying OkHttp library from
sending an "Accept-Encoding-gzip" request header on each
request.
|
DatabaseClientBuilder |
DatabaseClientBuilder.withHost(java.lang.String host) |
DatabaseClientBuilder |
DatabaseClientBuilder.withKerberosAuth(java.lang.String principal) |
DatabaseClientBuilder |
DatabaseClientBuilder.withKerberosPrincipal(java.lang.String principal) |
DatabaseClientBuilder |
DatabaseClientBuilder.withKeyStoreAlgorithm(java.lang.String algorithm) |
DatabaseClientBuilder |
DatabaseClientBuilder.withKeyStorePassword(java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withKeyStorePath(java.lang.String path)
Enables 2-way SSL by creating an SSL context
based on the given key store path.
|
DatabaseClientBuilder |
DatabaseClientBuilder.withKeyStoreType(java.lang.String type) |
DatabaseClientBuilder |
DatabaseClientBuilder.withOAuth(java.lang.String token) |
DatabaseClientBuilder |
DatabaseClientBuilder.withOAuthToken(java.lang.String token) |
DatabaseClientBuilder |
DatabaseClientBuilder.withPassword(java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withPort(int port) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSAMLAuth(java.lang.String token) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSAMLToken(java.lang.String token) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSecurityContext(DatabaseClientFactory.SecurityContext securityContext) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSSLContext(javax.net.ssl.SSLContext sslContext) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSSLHostnameVerifier(DatabaseClientFactory.SSLHostnameVerifier sslHostnameVerifier) |
DatabaseClientBuilder |
DatabaseClientBuilder.withSSLProtocol(java.lang.String sslProtocol) |
DatabaseClientBuilder |
DatabaseClientBuilder.withTrustManager(javax.net.ssl.X509TrustManager trustManager) |
DatabaseClientBuilder |
DatabaseClientBuilder.withTrustStoreAlgorithm(java.lang.String algorithm) |
DatabaseClientBuilder |
DatabaseClientBuilder.withTrustStorePassword(java.lang.String password) |
DatabaseClientBuilder |
DatabaseClientBuilder.withTrustStorePath(java.lang.String path)
Supports constructing an
X509TrustManager based on the given file path, which
should point to a Java key store or trust store. |
DatabaseClientBuilder |
DatabaseClientBuilder.withTrustStoreType(java.lang.String type) |
DatabaseClientBuilder |
DatabaseClientBuilder.withUsername(java.lang.String username) |
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.