Package com.courier.services.async
Interface TranslationServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface TranslationServiceAsync.WithRawResponseA view of TranslationServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract TranslationServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<HttpResponseFor<String>> retrieve(String locale, TranslationRetrieveParams params)
Returns a raw HTTP response for
get /translations/{domain}/{locale}, but is otherwise the same as TranslationServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<String>> retrieve(String locale, TranslationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<String>> retrieve(TranslationRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<String>> retrieve(TranslationRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponse> update(String locale, TranslationUpdateParams params)
Returns a raw HTTP response for
put /translations/{domain}/{locale}, but is otherwise the same as TranslationServiceAsync.update.
-
update
CompletableFuture<HttpResponse> update(String locale, TranslationUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponse> update(TranslationUpdateParams params)
-
update
abstract CompletableFuture<HttpResponse> update(TranslationUpdateParams params, RequestOptions requestOptions)
-
-
-
-