Interface SyncOrAsync<ResponseContent>
- All Known Subinterfaces:
SyncOrAsyncOrStreaming<ResponseContent>
public interface SyncOrAsync<ResponseContent>
-
Method Summary
Modifier and TypeMethodDescriptionexecute()default ParsedAndRawResponse<ResponseContent> onResponse(Consumer<ResponseContent> responseHandler)
-
Method Details
-
execute
ResponseContent execute() -
executeRaw
-
executeRawAsync
- Returns:
- a
CompletableFutureof the parsed and raw response, completed without blocking the caller. - Since:
- 1.20.0
-
onResponse
-