/** *Remove all parameters. */ public void removeMultiParameters() { this.duplicates = new DuplicateNameValueList(); }
protected ParametersHeader(String hdrName) { super(hdrName); this.parameters = new NameValueList(); this.duplicates = new DuplicateNameValueList(); }
protected ParametersHeader(String hdrName, boolean sync) { super(hdrName); this.parameters = new NameValueList(sync); this.duplicates = new DuplicateNameValueList(); }
protected ParametersHeader() { this.parameters = new NameValueList(); this.duplicates = new DuplicateNameValueList(); }
public Object clone() { DuplicateNameValueList retval = new DuplicateNameValueList(); Iterator<NameValue> it = this.nameValueMap.values().iterator(); while (it.hasNext()) { retval.set((NameValue) ((NameValue) it.next()).clone()); } return retval; }