Searched refs:CookieHandler (Results 1 – 8 of 8) sorted by relevance
20 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 {
23 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 {
39 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 …]
42 import java.net.CookieHandler;1352 CookieHandler defaultCookieHandler = CookieHandler.getDefault(); in checkDisconnectDuringConnect()1354 CookieHandler.setDefault(new DisconnectingCookieHandler()); in checkDisconnectDuringConnect()1366 CookieHandler.setDefault(defaultCookieHandler); in checkDisconnectDuringConnect()
52 public abstract class CookieHandler { class60 private static CookieHandler cookieHandler;72 public synchronized static CookieHandler getDefault() { in getDefault()92 public synchronized static void setDefault(CookieHandler cHandler) { in setDefault()
118 public class CookieManager extends CookieHandler
278 "ojluni/src/main/java/java/net/CookieHandler.java",
4906 public abstract class CookieHandler {4907 ctor public CookieHandler();4909 method public static java.net.CookieHandler getDefault();4911 method public static void setDefault(java.net.CookieHandler);4914 public class CookieManager extends java.net.CookieHandler {