void removeAll(String name)

Removes all values for the specified header name. Some headers have system supplied values and for these the system supplied values will still be added to the collection of values for the header.

Source

void removeAll(String name);