170171172173174175176177178179180181182
if ( retry ) { uriString += "&rangeOverwrite=true"; } UriBuilder uriBuilder = new UriBuilder( uriString ); // use the default port uriBuilder.setPort( -1 ); // URL of upload script. return new URL( uriBuilder.toString( ) ); }