Isolate the process of cleaning JSON data from the Interceptor class itself.
The allowed and blocked wildcard patterns, combined with defaultBlock, let you filter out values that should not be injected, in the same way that ParameterFilterInterceptor does. Note that you can only remove values from a Map. Removing values from a List is dangerous because it could change the meaning of the data!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|