This way you could use the default RequestBody class scope to e.g. use extractFirstValueMutator in a custom-filter's value mutator without duplicating it or use other magic based on the current RequestBody class instance.
For example: If I'd like to use the default extractFirstValueMutator in a custom filter I currently need to duplicate this functionality. With the scope added to the message using call we can just write smth like:
This way you could use the default
RequestBody
class scope to e.g. useextractFirstValueMutator
in a custom-filter's value mutator without duplicating it or use other magic based on the currentRequestBody
class instance.For example: If I'd like to use the default
extractFirstValueMutator
in a custom filter I currently need to duplicate this functionality. With the scope added to the message usingcall
we can just write smth like: