Home
last modified time | relevance | path

Searched refs:topmostPath (Results 1 – 1 of 1) sorted by relevance

/external/apache-http/src/org/apache/http/impl/cookie/
DBasicPathHandler.java79 String topmostPath = cookie.getPath(); in match() local
80 if (topmostPath == null) { in match()
81 topmostPath = "/"; in match()
83 if (topmostPath.length() > 1 && topmostPath.endsWith("/")) { in match()
84 topmostPath = topmostPath.substring(0, topmostPath.length() - 1); in match()
86 boolean match = targetpath.startsWith (topmostPath); in match()
89 if (match && targetpath.length() != topmostPath.length()) { in match()
90 if (!topmostPath.endsWith("/")) { in match()
91 match = (targetpath.charAt(topmostPath.length()) == '/'); in match()