Uses of Class
com.datastax.astra.internal.api.ApiResponse
Package
Description
Exceptions specialized checked and unchecked thrown by the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.Internal technical classes to run commands against the API.
-
Uses of ApiResponse in com.datastax.astra.client.exception
ModifierConstructorDescriptionDataAPIFaultyResponseException
(Command cmd, ApiResponse res, String msg) Constructs a new exception with the specified command that triggered the error, the API response received, and a custom error message. -
Uses of ApiResponse in com.datastax.astra.client.model
Modifier and TypeMethodDescriptiondefault ApiResponse
CommandRunner.runCommand
(Command command) Command to return the payload as a Map.CommandRunner.runCommand
(Command command, CommandOptions<?> options) Command to return the payload as a Map. -
Uses of ApiResponse in com.datastax.astra.internal.command
Modifier and TypeMethodDescriptionAbstractCommandRunner.runCommand
(Command command, CommandOptions<?> overridingOptions) Command to return the payload as a Map.Modifier and TypeMethodDescriptionprotected <T> T
AbstractCommandRunner.mapAsDocument
(ApiResponse api, Class<T> documentClass) Document Mapping.void
ExecutionInfos.DataApiExecutionInfoBuilder.withApiResponse
(ApiResponse response) Populate after http call.