Home
last modified time | relevance | path

Searched refs:ACCEPT_ORIGINAL_SERVER (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DCookiePolicyTest.java59 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie); in test_ShouldAccept_LURI_LHttpCookie()
63 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
68 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
73 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
78 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
83 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
88 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
92 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(null, cookie); in test_ShouldAccept_LURI_LHttpCookie()
95 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, null); in test_ShouldAccept_LURI_LHttpCookie()
98 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(null, null); in test_ShouldAccept_LURI_LHttpCookie()
/libcore/ojluni/src/main/java/java/net/
DCookiePolicy.java60 public static final CookiePolicy ACCEPT_ORIGINAL_SERVER = new CookiePolicy(){ field
DCookieManager.java157 policyCallback = (cookiePolicy == null) ? CookiePolicy.ACCEPT_ORIGINAL_SERVER in CookieManager()
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java41 import static java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER;
93 ACCEPT_ORIGINAL_SERVER); in testNetscapeResponse()
121 ACCEPT_ORIGINAL_SERVER); in testRfc2109Response()
151 ACCEPT_ORIGINAL_SERVER); in testRfc2965Response()
185 ACCEPT_ORIGINAL_SERVER); in testQuotedAttributeValues()
220 CookieManager cookieManager = new CookieManager(cookieStore, ACCEPT_ORIGINAL_SERVER); in testResponseWithMultipleCookieHeaderLines()
234 CookieManager cookieManager = new CookieManager(cookieStore, ACCEPT_ORIGINAL_SERVER); in testDomainDefaulting()
241 CookieManager cookieManager = new CookieManager(cookieStore, ACCEPT_ORIGINAL_SERVER); in testNonMatchingDomainsRejected()
249 CookieManager cookieManager = new CookieManager(cookieStore, ACCEPT_ORIGINAL_SERVER); in testMatchingDomainsAccepted()
257 CookieManager cookieManager = new CookieManager(cookieStore, ACCEPT_ORIGINAL_SERVER); in testPathDefaulting()
[all …]