Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
JHttpScenarioGlobalContext com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.copy ( )

Definition at line 22 of file JHttpScenarioGlobalContext.java.

References com.griddynamics.jagger.invoker.scenario.CopyUtil.copyOf(), com.griddynamics.jagger.invoker.v2.JHttpEndpoint.copyOf(), com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.withBasicAuth(), com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.withGlobalEndpoint(), and com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.withGlobalHeaders().

Referenced by com.griddynamics.jagger.invoker.scenario.JHttpUserScenarioInvoker.invoke().

22  {
23  JHttpScenarioGlobalContext copy = new JHttpScenarioGlobalContext();
24  return copy.withBasicAuth(this.userName, this.password)
25  .withGlobalEndpoint(JHttpEndpoint.copyOf(this.globalEndpoint))
26  .withGlobalHeaders(CopyUtil.copyOf(this.globalHeaders));
27  }

Here is the call graph for this function:

Here is the caller graph for this function: