Interface V1ServiceAsync
-
- All Implemented Interfaces:
public interface V1ServiceAsyncExtract text from PDFs, images, and scanned documents
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceV1ServiceAsync.WithRawResponseA view of V1ServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract V1ServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract V1ServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<V1RetrieveResponse> retrieve(String id)
Retrieve the status and results of an OCR job. Returns job progress, extracted text, and metadata when processing is complete.
-
retrieve
CompletableFuture<V1RetrieveResponse> retrieve(String id, V1RetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<V1RetrieveResponse> retrieve(String id, V1RetrieveParams params)
-
retrieve
abstract CompletableFuture<V1RetrieveResponse> retrieve(V1RetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<V1RetrieveResponse> retrieve(V1RetrieveParams params)
-
retrieve
CompletableFuture<V1RetrieveResponse> retrieve(String id, RequestOptions requestOptions)
-
download
CompletableFuture<HttpResponse> download(V1DownloadParams.Type type, V1DownloadParams params)
Download OCR processing results in various formats. Returns the processed document as text extraction, structured JSON with coordinates, searchable PDF with text layer, or the original uploaded document.
-
download
CompletableFuture<HttpResponse> download(V1DownloadParams.Type type, V1DownloadParams params, RequestOptions requestOptions)
-
download
CompletableFuture<HttpResponse> download(V1DownloadParams params)
-
download
abstract CompletableFuture<HttpResponse> download(V1DownloadParams params, RequestOptions requestOptions)
-
process
CompletableFuture<V1ProcessResponse> process(V1ProcessParams params)
Submit a document for OCR processing to extract text, detect tables, forms, and other features. Supports PDFs, images, and scanned documents. Returns a job ID that can be used to track processing status.
-
process
abstract CompletableFuture<V1ProcessResponse> process(V1ProcessParams params, RequestOptions requestOptions)
-
-
-
-