Interface CallChain.RequestMaker<ClientT,ModelT,CallbackT extends StdCallbackContext>
-
- Type Parameters:
ClientT- Actual client e.g. KinesisClient.ModelT- The type (POJO) of Resource model.CallbackT- , callback context the extendsStdCallbackContext
- Enclosing interface:
- CallChain
public static interface CallChain.RequestMaker<ClientT,ModelT,CallbackT extends StdCallbackContext>This performs the translate step between the ModelT properties and what is needed for making the service call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default <RequestT> CallChain.Caller<RequestT,ClientT,ModelT,CallbackT>request(Function<ModelT,RequestT> maker)Deprecated.<RequestT> CallChain.Caller<RequestT,ClientT,ModelT,CallbackT>translateToServiceRequest(Function<ModelT,RequestT> maker)Take a reference to the tranlater that take the resource model POJO as input and provide a request object as needed to make the Service call.
-
-
-
Method Detail
-
request
@Deprecated default <RequestT> CallChain.Caller<RequestT,ClientT,ModelT,CallbackT> request(Function<ModelT,RequestT> maker)
Deprecated.usetranslateToServiceRequest(Function)Take a reference to the tranlater that take the resource model POJO as input and provide a request object as needed to make the Service call.- Type Parameters:
RequestT- , the web service request created- Parameters:
maker- , provide a functional transform from model to request object.- Returns:
- returns the next step, to actually call the service.
-
translateToServiceRequest
<RequestT> CallChain.Caller<RequestT,ClientT,ModelT,CallbackT> translateToServiceRequest(Function<ModelT,RequestT> maker)
Take a reference to the tranlater that take the resource model POJO as input and provide a request object as needed to make the Service call.- Type Parameters:
RequestT- , the web service request created- Parameters:
maker- , provide a functional transform from model to request object.- Returns:
- returns the next step, to actually call the service.
-
-