See: Description
| Interface | Description |
|---|---|
| DatabaseClient |
A Database Client instantiates document and query managers and other objects
with shared access to a database.
|
| DatabaseClientFactory.SSLHostnameVerifier |
An SSLHostnameVerifier checks whether a hostname is acceptable
during SSL authentication.
|
| Transaction |
Identifies and provides methods to complete a transaction.
|
| Class | Description |
|---|---|
| DatabaseClientFactory |
A Database Client Factory configures a database client for making
database requests.
|
| DatabaseClientFactory.SSLHostnameVerifier.Builtin |
Builtin supports builtin implementations of SSLHostnameVerifier.
|
| Enum | Description |
|---|---|
| DatabaseClientFactory.Authentication |
Authentication enumerates the methods for verifying a user and
password with the database.
|
| Exception | Description |
|---|---|
| FailedRequestException |
A FailedRequestException is used to capture and report on problems
from the REST API.
|
| ForbiddenUserException |
Thrown when the credentials used to connect to a MarkLogic REST instance
are not sufficient for the task requested.
|
| MarkLogicBindingException |
A Binding Exception indicates a problem converting between a Java object
and XML representation of the data.
|
| MarkLogicInternalException |
An InternalException suggests a defect in the API.
|
| MarkLogicIOException |
An IO Exception indicates that there was a problem on input or output (similar
to a java.lang.IOException but defined as a runtime rather than checked
exception).
|
| MarkLogicServerException |
Abstract class that implements functionality for errors returned from a MarkLogic REST API instance.
|
| ResourceNotFoundException |
Exception thrown when the server responds with HTTP status code 404.
|
| ResourceNotResendableException |
Exception thrown when the server responds with HTTP status code 503
and a Retry-After header of 1 but the request is a PUT or POST
and the payload is streaming.
|
| UnauthorizedUserException |
An Unauthorized User Exception indicates the user is
not recognized by the server.
|
DatabaseClientFactory.newClient() to create
a DatabaseClient object. Use the
Client object to create document managers for reading, writing, and deleting documents,
QueryOptionsManager to write configuration options
for queries, and QueryManager to execute queries.
The list of exceptions in this package enumerate the ways in which a REST server request can go wrong.
Copyright © 2013-2014 MarkLogic Corporation.