/** * Set a field with the specified value. If the field is not found, it is * added. If the field is found, the existing values are replaced. */ public Builder set(String name, String value) { checkNameAndValue(name, value); removeAll(name); addLenient(name, value); return this; }
/** Add a field with the specified value. */ public Builder add(String name, String value) { checkNameAndValue(name, value); return addLenient(name, value); }
/** * Set a field with the specified value. If the field is not found, it is added. If the field is * found, the existing values are replaced. */ public Builder set(String name, String value) { checkNameAndValue(name, value); removeAll(name); addLenient(name, value); return this; }
/** Add a field with the specified value. */ public Builder add(String name, String value) { checkNameAndValue(name, value); return addLenient(name, value); }
/** * Set a field with the specified value. If the field is not found, it is added. If the field is * found, the existing values are replaced. */ public Builder set(String name, String value) { checkNameAndValue(name, value); removeAll(name); addLenient(name, value); return this; }
/** Add a field with the specified value. */ public Builder add(String name, String value) { checkNameAndValue(name, value); return addLenient(name, value); }
/** Add a field with the specified value. */ public Builder add(String name, String value) { checkNameAndValue(name, value); return addLenient(name, value); }
/** * Set a field with the specified value. If the field is not found, it is * added. If the field is found, the existing values are replaced. */ public Builder set(String name, String value) { checkNameAndValue(name, value); removeAll(name); addLenient(name, value); return this; }