Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
static HttpHeaders com.griddynamics.jagger.invoker.scenario.CopyUtil.copyOf ( HttpHeaders  headers)
static

Definition at line 9 of file CopyUtil.java.

Referenced by com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.copy().

9  {
10  if (headers == null)
11  return null;
12  HttpHeaders headersCopy = new HttpHeaders();
13  headers.forEach((key, values) -> headersCopy.put(key, new LinkedList<>(values)));
14  return headersCopy;
15  }

Here is the caller graph for this function: