Cookie
matches the given URL using the domain,
path and secure attributes.Credentials.addHostname(String)
and
Credentials.addProtocol(String)
.Credentials.addHostname(String)
,
Credentials.addProtocol(String)
and Credentials.addRealm(String)
.