Package com.courier.services.async
Interface JourneyServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface JourneyServiceAsync.WithRawResponseA view of JourneyServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract JourneyServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<HttpResponseFor<JourneysListResponse>> list()
Returns a raw HTTP response for
get /journeys, but is otherwise the same as JourneyServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<JourneysListResponse>> list(JourneyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<JourneysListResponse>> list(JourneyListParams params)
-
list
CompletableFuture<HttpResponseFor<JourneysListResponse>> list(RequestOptions requestOptions)
-
invoke
CompletableFuture<HttpResponseFor<JourneysInvokeResponse>> invoke(String templateId, JourneyInvokeParams params)
Returns a raw HTTP response for
post /journeys/{templateId}/invoke, but is otherwise the same as JourneyServiceAsync.invoke.
-
invoke
CompletableFuture<HttpResponseFor<JourneysInvokeResponse>> invoke(String templateId, JourneyInvokeParams params, RequestOptions requestOptions)
-
invoke
CompletableFuture<HttpResponseFor<JourneysInvokeResponse>> invoke(JourneyInvokeParams params)
-
invoke
abstract CompletableFuture<HttpResponseFor<JourneysInvokeResponse>> invoke(JourneyInvokeParams params, RequestOptions requestOptions)
-
-
-
-