Lines Matching defs:path

44  *     scheme : // authority [ / path ]
71 * The <i>path</i> component comprises a sequence of path segments,
72 * separated by '/' characters. <i>path</i> may also be empty. The path is specified
73 * in a similar way to the path in {@link java.io.FilePermission}. There are
86 * other words all resources with the same number of path components, and
87 * which only differ in the final path component, represented by the '*'.
92 * preceding path (eg. http://www.oracle.com/a/b/c/d/e.html matches this
99 * The '*' and '-' may only be specified in the final segment of a path and must be
110 * then the address is normalized for comparison. The path component is case sensitive.
148 private transient String path;
160 * authority and path components of the url are used internally. Any fragment or query
249 * <li>if the path or paths specified by p's url are contained in the
257 * <tr><th scope="col">this's path</th><th scope="col">p's path</th><th>match</th></tr>
311 if (this.path == null) {
312 return that.path == null;
314 if (that.path == null) {
318 if (this.path.endsWith("/-")) {
319 String thisprefix = this.path.substring(0, this.path.length() - 1);
320 return that.path.startsWith(thisprefix);
323 if (this.path.endsWith("/*")) {
324 String thisprefix = this.path.substring(0, this.path.length() - 1);
325 if (!that.path.startsWith(thisprefix)) {
328 String thatsuffix = that.path.substring(thisprefix.length());
338 return this.path.equals(that.path);
360 if (this.path != null) {
361 return this.path.equals(that.path);
363 return that.path == null;
375 + (path == null ? 0 : path.hashCode());
463 this.path = "";
467 this.path = authpath.substring(delim);