void set(String name, Object value)

Sets a header. The header named name will have all its values cleared before the value value is added as its value.

Source

void set(String name, Object value);