requestHeaderMap, requestParameterMap and responseHeaderMap are all protected by null checks – that is, the functions ensure that even if called multiple times that after values have been populated they will not be erased. The problem with attributeMap is that it does not have such a null guard, and if the method that populates it is called more than once then it will be overwritten with the latest httpRequest.
|