Is there a way to to access any existing parameters already set on the DSRequest passed into RequestTransformer.transformRequest?
I have a scenario where some parameters are being set by a DSRequest being passed into DataSource.performCustomOperation, then within the RequestTransformer.transformRequest method, it too is setting some parameters using setParams, however, the parameters set in transformRequest wipe out the parameters set by the DSRequest passed into performCustomOperation.
I was looking for a way to "add" parameters to the DSRequest by doing something like:
Any help would be appreciated.
Thanks
I have a scenario where some parameters are being set by a DSRequest being passed into DataSource.performCustomOperation, then within the RequestTransformer.transformRequest method, it too is setting some parameters using setParams, however, the parameters set in transformRequest wipe out the parameters set by the DSRequest passed into performCustomOperation.
I was looking for a way to "add" parameters to the DSRequest by doing something like:
Code:
Map<String, String> params = dsRequest.getParams(); if (params == null) params = new HashMap<String, String>(); params.put(paramKey, paramValue); dsRequest.setParams(params);
Thanks
Comment