String encodedQuery(){
  if (queryNamesAndValues == null)   return null;
  int queryStart=url.indexOf('?') + 1;
  int queryEnd=delimiterOffset(url,queryStart + 1,url.length(),"#");
  return url.substring(queryStart,queryEnd);
}

String encodedQuery ( ) { if ( queryNamesAndValues == null ) return null ; int queryStart = url . indexOf ( '?' ) + 1 ; int queryEnd = delimiterOffset ( url , queryStart + 1 , url . length ( ) , "#" ) ; return url . substring ( queryStart , queryEnd ) ; }
returns the query of this url , encoded for use in http resource resolution . the returned string may be null ( for urls with no query ) , empty ( for urls with an empty query ) or non - empty ( all other urls ) .
