if (baseQueryParams != null)
{
it = baseQueryParams.values().iterator();
while (it.hasNext())
{
QueryParam qparam = (QueryParam)it.next();
if ( (null == staticParams || !staticParams.containsKey(qparam.getName()))
&& (null == dynamicParams || !dynamicParams.containsKey(qparam.getName())))
{
duri.addQueryData(qparam.getName(), qparam.getValue());
}
}
}
// Then add the static params
if (staticParams != null)
{
it = staticParams.values().iterator();
while (it.hasNext())
{
QueryParam qparam = (QueryParam)it.next();
if (null == dynamicParams || !dynamicParams.containsKey(qparam.getName()))
{
duri.addQueryData(qparam.getName(), qparam.getValue());
}
}
}
// Then add the dynamic params