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