domino-rest
domino-rest copied to clipboard
Make it possible to do modifications to the response in the interceptor
Currently in the interceptor you can get the json using repsonse.getBodyAsString. It should be possible to
- either : modify the json, and inject it back into 'the system'. So that the final mapped object also has these changes.
- or better : make it possible to handle the mapped object itself in interceptor. So that you can make generic changes to the object in the interceptor, and these changes will impact all calls.