MCPcopy Create free account
hub / github.com/Codetail/Mover / pathMatches

Method pathMatches

app/src/main/java/io/codetail/utils/HttpCookie.java:138–142  ·  view source on GitHub ↗

Returns true if cookie should be sent to or accepted from uri with respect to the cookie's path. Cookies match by directory prefix: URI "/foo" matches cookies "/foo", "/foo/" and "/foo/bar", but not "/" or "/foobar".

(HttpCookie cookie, URI uri)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

matchablePathMethod · 0.95
getPathMethod · 0.80

Tested by

no test coverage detected