Interface DataServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface DataServiceAsync.WithRawResponseA view of DataServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract DataServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<DataStreamResponse>>stream(String inferencePipelineId, DataStreamParams params)Returns a raw HTTP response for post /inference-pipelines/{inferencePipelineId}/data-stream, but is otherwise the same as DataServiceAsync.stream.CompletableFuture<HttpResponseFor<DataStreamResponse>>stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<DataStreamResponse>>stream(DataStreamParams params)abstract CompletableFuture<HttpResponseFor<DataStreamResponse>>stream(DataStreamParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract DataServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
stream
CompletableFuture<HttpResponseFor<DataStreamResponse>> stream(String inferencePipelineId, DataStreamParams params)
Returns a raw HTTP response for
post /inference-pipelines/{inferencePipelineId}/data-stream, but is otherwise the same as DataServiceAsync.stream.
-
stream
CompletableFuture<HttpResponseFor<DataStreamResponse>> stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)
-
stream
CompletableFuture<HttpResponseFor<DataStreamResponse>> stream(DataStreamParams params)
-
stream
abstract CompletableFuture<HttpResponseFor<DataStreamResponse>> stream(DataStreamParams params, RequestOptions requestOptions)
-
-
-
-