domino-rest icon indicating copy to clipboard operation
domino-rest copied to clipboard

Make it possible to do modifications to the response in the interceptor

Open FrankW76 opened this issue 3 years ago • 0 comments

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.

FrankW76 avatar Jul 13 '21 12:07 FrankW76