Searched defs:npath (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DBasicAuthentication.java177 * @return the common root path between npath and path.
182 static String getRootPath(String npath, String opath) { argument
188 npath = new URI (npath).normalize().getPath();
196 if (toindex != -1 && opath.regionMatches(0, npath, 0, toindex+1))
201 /*should not reach here. If we do simply return npath*/
202 return npath;

Completed in 30 milliseconds