Package com.courier.services.blocking
Interface RequestService
-
- All Implemented Interfaces:
public interface RequestService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRequestService.WithRawResponseA view of RequestService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract RequestService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract RequestServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Unitarchive(String requestId)Archive message Unitarchive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)Unitarchive(String requestId, RequestArchiveParams params)abstract Unitarchive(RequestArchiveParams params, RequestOptions requestOptions)Unitarchive(RequestArchiveParams params)Unitarchive(String requestId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract RequestService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract RequestService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
archive
Unit archive(String requestId, RequestArchiveParams params, RequestOptions requestOptions)
-
archive
Unit archive(String requestId, RequestArchiveParams params)
-
archive
abstract Unit archive(RequestArchiveParams params, RequestOptions requestOptions)
-
archive
Unit archive(RequestArchiveParams params)
-
archive
Unit archive(String requestId, RequestOptions requestOptions)
-
-
-
-