Package com.courier.services.async
Interface RequestServiceAsync
-
- All Implemented Interfaces:
public interface RequestServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRequestServiceAsync.WithRawResponseA view of RequestServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract RequestServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract RequestServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<Void>archive(String requestId)Archive message CompletableFuture<Void>archive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)CompletableFuture<Void>archive(String requestId, RequestArchiveParams params)abstract CompletableFuture<Void>archive(RequestArchiveParams params, RequestOptions requestOptions)CompletableFuture<Void>archive(RequestArchiveParams params)CompletableFuture<Void>archive(String requestId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract RequestServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract RequestServiceAsync 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<Void> archive(String requestId)
Archive message
-
archive
CompletableFuture<Void> archive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<Void> archive(String requestId, RequestArchiveParams params)
-
archive
abstract CompletableFuture<Void> archive(RequestArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<Void> archive(RequestArchiveParams params)
-
archive
CompletableFuture<Void> archive(String requestId, RequestOptions requestOptions)
-
-
-
-