You are here:
Overview of Extending the Asynchronous System Interface
Services and customers can extend the functionality of the XOMAsyncSystemInterface class to add more functionality, such as applying logic to determine if a response is good or bad.
XOMAsyncSystemInterface.processResponse and XOMAsyncSystemInterface.processResponseDeferred are virtual, which enables you to override those methods and customize the processing. You can create a new customized class to call by using a new REST endpoint. This enables custom callback, and also enables you to customize the processing of the callout itself. This means you can write your own class and extend the default out of box functionality, for example, you can log the request and response, or save them in custom fields for later inspection.

