Package com.courier.services.async
Interface RequestServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface RequestServiceAsync.WithRawResponseA view of RequestServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract RequestServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponse>archive(String requestId)Returns a raw HTTP response for put /requests/{request_id}/archive, but is otherwise the same as RequestServiceAsync.archive.CompletableFuture<HttpResponse>archive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponse>archive(String requestId, RequestArchiveParams params)abstract CompletableFuture<HttpResponse>archive(RequestArchiveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponse>archive(RequestArchiveParams params)CompletableFuture<HttpResponse>archive(String requestId, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract RequestServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
archive
CompletableFuture<HttpResponse> archive(String requestId)
Returns a raw HTTP response for
put /requests/{request_id}/archive, but is otherwise the same as RequestServiceAsync.archive.
-
archive
CompletableFuture<HttpResponse> archive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponse> archive(String requestId, RequestArchiveParams params)
-
archive
abstract CompletableFuture<HttpResponse> archive(RequestArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponse> archive(RequestArchiveParams params)
-
archive
CompletableFuture<HttpResponse> archive(String requestId, RequestOptions requestOptions)
-
-
-
-