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