public class CreateReceiverRequestExecutor extends RequestExecutor<Receiver>
ReceiversApi. Use this class if you want to create
 receivers through fluent API in chained fashion, for example:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   kontaktCloud.receivers().create(receiver).execute();
   
 | Constructor and Description | 
|---|
CreateReceiverRequestExecutor(ReceiversService receiversService,
                             Receiver receiver)
Constructs request executor initialized with corresponding service class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Receiver | 
execute()
Executes created request synchronously. 
 | 
void | 
execute(CloudCallback<Receiver> callback)
Executes created request asynchronously and invokes callback with the result. 
 | 
public CreateReceiverRequestExecutor(ReceiversService receiversService, Receiver receiver)
receiversService - the receivers API service.receiver - the receiver we want to create.public Receiver execute() throws java.io.IOException, KontaktCloudException
execute in class RequestExecutor<Receiver>java.io.IOException - exceptionKontaktCloudException - exceptionpublic void execute(CloudCallback<Receiver> callback)
execute in class RequestExecutor<Receiver>callback - the callback object.