Interface | Description |
---|---|
Call<T> |
An abstraction over a RPC call to pCloud's API servers.
|
CallAdapter<T,R> |
An adapter that allows modifying the return type.
|
Callback<T> |
A Callback listener used when making asynchronous calls to the pCloud API.
|
Interactor<T> |
A Iterator-like interface allowing the execution of
MultiCall s in a pull-based fashion. |
MultiCall<T,R> |
A contract for an object able to execute many calls to a server and return the results
|
MultiCallback<T,R> |
A contact for a callback to work with a MultiCall
|
ResponseInterceptor |
A contract for an object able to intercept an ApiResponse and interact with it before it is delivered
|
Class | Description |
---|---|
ApiComposer |
Composes implementations for interfaces in which you have provided methods that describe your network calls
|
ApiComposer.Builder |
A builder to build instances of ApiComposer
|
ApiResponse |
A base implementation of a network response.
|
CallAdapter.Factory |
A factory class for creating CallAdapter instances.
|
DataApiResponse |
An implementation to house the ResponseData for the response of a network call
|
Annotation Type | Description |
---|---|
Method |
Set the API's method name that will be called.
|
Parameter |
Mark a method parameter as a requestBody parameter.
|
RequestBody |
Mark a method parameter as a requestBody body.
|
RequestData |
Mark a method parameter as a Request data source.
|