int port,
String path,
String query,
String fragment) {
SchemeRegistry reg = SchemeRegistry.getInstance();
Scheme _scheme = reg.getScheme(scheme);
StringBuffer buf = new StringBuffer();
buildAuthority(buf,userinfo, host, port);
String authority = (buf.length()!=0)?buf.toString():null;
init(_scheme,scheme,authority,userinfo,
host,port,path,query,fragment);