Request & Response Interface

If you implement RequestResponse Interface into your service, then it will provide you currently 3 default methods, you haven’t Implement anything. It already has those default methods.


Available methods

RequestProcessor requestProcessor()

Responsible for request processing, for more details please see the RequestProcessor


ResponseProcessor responseProcessor()

Responsible for response processing, such as MessageResponse, BulkResponse, PageableResponse etc, for more details please see the ResponseProcessor


DataUtil dataUtil()

DataUtil will give you utility wing, such as extract id from request, get collection of ids, Merge Object etc, for more details please see the DataUtil