Interface DataService.WithRawResponse
-
- All Implemented Interfaces:
public interface DataService.WithRawResponseA view of DataService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract DataService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. 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 DataService.stream.HttpResponseFor<DataStreamResponse>stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)HttpResponseFor<DataStreamResponse>stream(DataStreamParams params)abstract HttpResponseFor<DataStreamResponse>stream(DataStreamParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract DataService.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
@MustBeClosed() 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 DataService.stream.
-
stream
@MustBeClosed() HttpResponseFor<DataStreamResponse> stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)
-
stream
@MustBeClosed() HttpResponseFor<DataStreamResponse> stream(DataStreamParams params)
-
stream
@MustBeClosed() abstract HttpResponseFor<DataStreamResponse> stream(DataStreamParams params, RequestOptions requestOptions)
-
-
-
-