Home | History | Annotate | Download | only in cookie

Lines Matching defs:host

76         // request-host and domain must be identical for the cookie to sent 
78 String host = origin.getHost();
83 if (host.contains(".")) {
87 // domain must match host
88 if (!host.endsWith(domain)) {
92 if (!host.equals(domain)) {
95 + "\". Domain of origin: \"" + host + "\"");
99 if (!host.equals(domain)) {
102 + "\". Domain of origin: \"" + host + "\"");
114 String host = origin.getHost();
119 if (host.equals(domain)) {
125 return host.endsWith(domain) || host.equals(domain.substring(1));