MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / getDomain

Method getDomain

src/main/java/org/htmlunit/http/Cookie.java:168–170  ·  view source on GitHub ↗

Returns the domain to which this cookie applies (null for all domains). @return the domain to which this cookie applies (null for all domains)

()

Source from the content-addressed store, hash-verified

166 * @return the domain to which this cookie applies ({@code null} for all domains)
167 */
168 public String getDomain() {
169 return domain_;
170 }
171
172 /**
173 * Returns the path to which this cookie applies ({@code null} for all paths).

Callers 15

checkCookieMethod · 0.95
testSimpleCookieMethod · 0.95
testCookieWithDomainMethod · 0.95
setCookieMetaTagMethod · 0.95
domainMethod · 0.95
propertiesMethod · 0.95
toStringMethod · 0.95
equalsMethod · 0.95
hashCodeMethod · 0.95
testParseFromFileUrlMethod · 0.45

Calls

no outgoing calls

Tested by 11

checkCookieMethod · 0.76
testSimpleCookieMethod · 0.76
testCookieWithDomainMethod · 0.76
setCookieMetaTagMethod · 0.76
domainMethod · 0.76
propertiesMethod · 0.76
testParseFromFileUrlMethod · 0.36
testUrlWithCustomPortMethod · 0.36