Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
JHttpScenarioGlobalContext com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.withGlobalHeader ( String  key,
String  value 
)

Sets header for all steps.

Endpoint still can be overridden in JHttpUserScenarioStep.Builder#withPreProcessFunction

Definition at line 74 of file JHttpScenarioGlobalContext.java.

74  {
75  initHeadersIfNull();
76  globalHeaders.put(key, newArrayList(value));
77  return this;
78  }