public static URI changeScheme(URI bindAddr,String scheme) throws URISyntaxException {
  return new URI(scheme,bindAddr.getUserInfo(),bindAddr.getHost(),bindAddr.getPort(),bindAddr.getPath(),bindAddr.getQuery(),bindAddr.getFragment());
}

public static URI changeScheme ( URI bindAddr , String scheme ) throws URISyntaxException { return new URI ( scheme , bindAddr . getUserInfo ( ) , bindAddr . getHost ( ) , bindAddr . getPort ( ) , bindAddr . getPath ( ) , bindAddr . getQuery ( ) , bindAddr . getFragment ( ) ) ; }
given a uri value create and return a new uri that matches the target one but with the scheme value supplied to this method .
