Searched refs:CookiePolicy (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | CookiePolicyTest.java | 19 import java.net.CookiePolicy; 39 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, cookie); in test_ShouldAccept_LURI_LHttpCookie() 42 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, null); in test_ShouldAccept_LURI_LHttpCookie() 45 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); in test_ShouldAccept_LURI_LHttpCookie() 49 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, cookie); in test_ShouldAccept_LURI_LHttpCookie() 52 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, null); in test_ShouldAccept_LURI_LHttpCookie() 55 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(uri, null); in test_ShouldAccept_LURI_LHttpCookie() 59 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() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | CookiePolicy.java | 38 public interface CookiePolicy { interface 42 public static final CookiePolicy ACCEPT_ALL = new CookiePolicy(){ 51 public static final CookiePolicy ACCEPT_NONE = new CookiePolicy(){ 60 public static final CookiePolicy ACCEPT_ORIGINAL_SERVER = new CookiePolicy(){
|
D | CookieManager.java | 122 private CookiePolicy policyCallback; 154 CookiePolicy cookiePolicy) in CookieManager() 157 policyCallback = (cookiePolicy == null) ? CookiePolicy.ACCEPT_ORIGINAL_SERVER in CookieManager() 181 public void setCookiePolicy(CookiePolicy cookiePolicy) { in setCookiePolicy()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 41 import static java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER; 43 import java.net.CookiePolicy; 1260 … Map<String, List<String>> responseHeaders, CookiePolicy policy) in store() 1350 CookiePolicy.ACCEPT_ALL); in test_Put_Get_LURI_LMap() 1358 CookiePolicy.ACCEPT_NONE); in test_Put_Get_LURI_LMap() 1365 CookiePolicy.ACCEPT_ALL); in test_Put_Get_LURI_LMap() 1424 CookiePolicy.ACCEPT_ALL); in testCookieManager_LCookieStore_LCookiePolicy() 1439 manager.setCookiePolicy(CookiePolicy.ACCEPT_NONE); in test_SetCookiePolicy_LCookiePolicy() 1449 manager.setCookiePolicy(CookiePolicy.ACCEPT_ALL); in test_SetCookiePolicy_LCookiePolicy() 1473 CookieManager cm = new CookieManager(fscs, CookiePolicy.ACCEPT_ALL); in testCookieWithNullPath()
|
/libcore/ |
D | openjdk_java_files.bp | 273 "ojluni/src/main/java/java/net/CookiePolicy.java",
|