/** * clear all URI Parameters. * @since v1.0 */ public void clearUriParms() { uriParms = new NameValueList(); } /**
/** * remove all parameters */ public void removeParameters() { authParams = new NameValueList(); }
/** *Remove all parameters. */ public void removeParameters() { this.parameters = new NameValueList(); }
/** * Clear all Qheaders. */ public void clearQheaders() { qheaders = new NameValueList(); }
/** Remove the URI parameters. * */ public void removeParameters() { this.uriParms = new NameValueList(); }
/** Remove all headers. */ public void removeHeaders() { qheaders = new NameValueList(); }
/** Creates new TelephoneNumber */ public TelephoneNumber() { parameters = new NameValueList(); }
public SipUri() { this.scheme = SIP; this.uriParms = new NameValueList(); this.qheaders = new NameValueList(); this.qheaders.setSeparator("&"); }
protected ParametersHeader(String hdrName, boolean sync) { super(hdrName); this.parameters = new NameValueList(sync); this.duplicates = new DuplicateNameValueList(); }
protected ParametersHeader(String hdrName) { super(hdrName); this.parameters = new NameValueList(); this.duplicates = new DuplicateNameValueList(); }
/** * Default constructor */ public Credentials() { parameters = new NameValueList(); parameters.setSeparator(COMMA); }
protected ParametersHeader() { this.parameters = new NameValueList(); this.duplicates = new DuplicateNameValueList(); }
/** * Default constructor */ public Challenge() { authParams = new NameValueList(); authParams.setSeparator(COMMA); }
public Object clone() { NameValueList retval = new NameValueList(); retval.setSeparator(this.separator); if(hmap != null) { Iterator<NameValue> it = this.iterator(); while (it.hasNext()) { retval.set((NameValue) ((NameValue) it.next()).clone()); } } return retval; }
private NameValueList tel_parameters() throws ParseException { NameValueList nvList = new NameValueList(); // JvB: Need to handle 'phone-context' specially // 'isub' (or 'ext') MUST appear first, but we accept any order here NameValue nv; while ( true ) { String pname = paramNameOrValue(); // Handle 'phone-context' specially, it may start with '+' if ( pname.equalsIgnoreCase("phone-context")) { nv = phone_context(); } else { if (lexer.lookAhead(0) == '=') { lexer.consume(1); String value = paramNameOrValue(); nv = new NameValue( pname, value, false ); } else { nv = new NameValue( pname, "", true );// flag param } } nvList.set( nv ); if ( lexer.lookAhead(0) == ';' ) { lexer.consume(1); } else { return nvList; } } }
private NameValueList tel_parameters() throws ParseException { NameValueList nvList = new NameValueList(); // JvB: Need to handle 'phone-context' specially // 'isub' (or 'ext') MUST appear first, but we accept any order here NameValue nv; while ( true ) { String pname = paramNameOrValue(); // Handle 'phone-context' specially, it may start with '+' if ( pname.equalsIgnoreCase("phone-context")) { nv = phone_context(); } else { if (lexer.lookAhead(0) == '=') { lexer.consume(1); String value = paramNameOrValue(); nv = new NameValue( pname, value, false ); } else { nv = new NameValue( pname, "", true );// flag param } } nvList.set( nv ); if ( lexer.lookAhead(0) == ';' ) { lexer.consume(1); } else { return nvList; } } }