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