Package com.qtsurfer.api.sdk.internal
package com.qtsurfer.api.sdk.internal
-
ClassDescriptionTurns a generated api-client call into an SDK call: the checked
ApiExceptionbecomes theQTSErrorsubclass the calling stage is defined in terms of, with the HTTP status and response body folded into the message.An api-client invocation, which may fail with the generated checked exception.Reads an execute-result response as one of the four answers a standalone read can get.Transfers dataset bytes to presigned upload targets without an API-auth interceptor.DefaultStrategyCompileClientbacked by the api-client's sharedApiClient(HttpClient, ObjectMapper, base URI, request interceptor).Parses server-provided live pagination links without exposing link parsing to callers.Preserves each venue's typed catalogue instead of coercing pool data into CEX instruments.Factory helpers that build Failsafe policies shared by every workflow stage.The single polling loop every workflow stage runs on, on top ofPolicies.stagePoller(java.time.Duration, java.time.Duration, java.time.Duration, java.util.function.Predicate<T>): interrupt handling, the per-attempt callback, and the mapping from Failsafe's failures onto the SDK error hierarchy.The prepare stage, shared by every workflow that needs a dataset before it can execute anything.Maps the raw backend job status (which in the live API is lowercase —queued,started,completed,failed, …) to a stable enum so the rest of the SDK reasons about it without caring about OpenAPI spec drift or generator casing.Backend-facing client for the strategy compile step.Reads the queued-or-not distinction off the HTTP status of a validation request.