Home
last modified time | relevance | path

Searched refs:CookieHandler (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DCookieHandlerTest.java20 import java.net.CookieHandler;
34 assertNull(CookieHandler.getDefault()); in test_GetDefault()
43 CookieHandler.setDefault(rc1); in test_SetDefault_java_net_cookieHandler()
44 assertSame(CookieHandler.getDefault(), rc1); in test_SetDefault_java_net_cookieHandler()
45 CookieHandler.setDefault(rc2); in test_SetDefault_java_net_cookieHandler()
46 assertSame(CookieHandler.getDefault(), rc2); in test_SetDefault_java_net_cookieHandler()
47 CookieHandler.setDefault(null); in test_SetDefault_java_net_cookieHandler()
48 assertNull(CookieHandler.getDefault()); in test_SetDefault_java_net_cookieHandler()
51 class MockCookieHandler extends CookieHandler {
/libcore/luni/src/test/java/libcore/java/net/
DOldCookieHandlerTest.java23 import java.net.CookieHandler;
48 assertNull(CookieHandler.getDefault()); in test_CookieHandler()
53 CookieHandler defaultHandler = CookieHandler.getDefault(); in test_get_put()
55 CookieHandler.setDefault(mch); in test_get_put()
75 CookieHandler.setDefault(defaultHandler); in test_get_put()
79 private static class MockCookieHandler extends CookieHandler {
DAbstractCookiesTest.java39 import java.net.CookieHandler;
69 private CookieHandler defaultHandler;
78 defaultHandler = CookieHandler.getDefault(); in setUp()
84 CookieHandler.setDefault(defaultHandler); in tearDown()
94 CookieHandler.setDefault(cookieManager); in testNetscapeResponse()
122 CookieHandler.setDefault(cookieManager); in testRfc2109Response()
152 CookieHandler.setDefault(cookieManager); in testRfc2965Response()
187 CookieHandler.setDefault(cookieManager); in testQuotedAttributeValues()
348 CookieHandler.setDefault(cookieManager); in testSendingCookiesFromStore()
376 CookieHandler.setDefault(cookieManager); in testRedirectsDoNotIncludeTooManyCookies()
[all …]
DURLConnectionTest.java40 import java.net.CookieHandler;
1173 CookieHandler defaultCookieHandler = CookieHandler.getDefault(); in checkDisconnectDuringConnect()
1175 CookieHandler.setDefault(new DisconnectingCookieHandler()); in checkDisconnectDuringConnect()
1187 CookieHandler.setDefault(defaultCookieHandler); in checkDisconnectDuringConnect()
/libcore/ojluni/src/main/java/java/net/
DCookieHandler.java52 public abstract class CookieHandler { class
60 private static CookieHandler cookieHandler;
72 public synchronized static CookieHandler getDefault() { in getDefault()
92 public synchronized static void setDefault(CookieHandler cHandler) { in setDefault()
DCookieManager.java118 public class CookieManager extends CookieHandler
/libcore/
Dopenjdk_java_files.bp271 "ojluni/src/main/java/java/net/CookieHandler.java",