public void proxyTo(final List<? extends URI> uris) {
		for (URI uri : uris)
		{
			if(uri == null) {
				throw new NullPointerException("URI can't be null");
			}
			if(!JainSipUtils.checkScheme(uri.toString())) {
				throw new IllegalArgumentException("Scheme " + uri.getScheme() + " is not supported");
			}
			final ProxyBranchImpl branch = new ProxyBranchImpl((URI) uri, this);
			branch.setRecordRoute(recordRoutingEnabled);
			branch.setRecurse(recurse);
			this.proxyBranches.put(uri, branch);
		}
		startProxy();
	}
public void proxyTo ( final List < ? extends URI > uris ) { for ( URI uri : uris ) { if ( uri == null ) { throw new NullPointerException ( "URI can't be null" ) ; } if ( ! JainSipUtils . checkScheme ( uri . toString ( ) ) ) { throw new IllegalArgumentException ( "Scheme " + uri . getScheme ( ) + " is not supported" ) ; } final ProxyBranchImpl branch = new ProxyBranchImpl ( ( URI ) uri , this ) ; branch . setRecordRoute ( recordRoutingEnabled ) ; branch . setRecurse ( recurse ) ; this . proxyBranches . put ( uri , branch ) ; } startProxy ( ) ; }
/* (non-Javadoc)
@see javax.servlet.sip.Proxy#proxyTo(java.util.List)