Interface ThreadServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface ThreadServiceAsync.WithRawResponseA view of ThreadServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract ThreadServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
listTraces
CompletableFuture<HttpResponseFor<ThreadListTracesPageAsync>> listTraces(String threadId, ThreadListTracesParams params)
Returns a raw HTTP response for
get /v2/threads/{thread_id}/traces, but is otherwise the same as ThreadServiceAsync.listTraces.
-
listTraces
CompletableFuture<HttpResponseFor<ThreadListTracesPageAsync>> listTraces(String threadId, ThreadListTracesParams params, RequestOptions requestOptions)
-
listTraces
CompletableFuture<HttpResponseFor<ThreadListTracesPageAsync>> listTraces(ThreadListTracesParams params)
-
listTraces
abstract CompletableFuture<HttpResponseFor<ThreadListTracesPageAsync>> listTraces(ThreadListTracesParams params, RequestOptions requestOptions)
-
query
CompletableFuture<HttpResponseFor<ThreadQueryPageAsync>> query()
Returns a raw HTTP response for
post /v2/threads/query, but is otherwise the same as ThreadServiceAsync.query.
-
query
abstract CompletableFuture<HttpResponseFor<ThreadQueryPageAsync>> query(ThreadQueryParams params, RequestOptions requestOptions)
-
query
CompletableFuture<HttpResponseFor<ThreadQueryPageAsync>> query(ThreadQueryParams params)
-
query
CompletableFuture<HttpResponseFor<ThreadQueryPageAsync>> query(RequestOptions requestOptions)
-
stats
CompletableFuture<HttpResponseFor<ThreadStatsResponse>> stats(String threadId, ThreadStatsParams params)
Returns a raw HTTP response for
get /v2/threads/{thread_id}/stats, but is otherwise the same as ThreadServiceAsync.stats.
-
stats
CompletableFuture<HttpResponseFor<ThreadStatsResponse>> stats(String threadId, ThreadStatsParams params, RequestOptions requestOptions)
-
stats
CompletableFuture<HttpResponseFor<ThreadStatsResponse>> stats(ThreadStatsParams params)
-
stats
abstract CompletableFuture<HttpResponseFor<ThreadStatsResponse>> stats(ThreadStatsParams params, RequestOptions requestOptions)
-
-
-
-