void remove(
String name,
Object value
)

Removes a specific value for a 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

/**
 * Removes a specific value for a 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.
 */
void remove(String name, Object value);