Searched refs:CookieHandler (Results 1 – 9 of 9) 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 …]
46 import java.net.CookieHandler;1356 CookieHandler defaultCookieHandler = CookieHandler.getDefault(); in checkDisconnectDuringConnect()1358 CookieHandler.setDefault(new DisconnectingCookieHandler()); in checkDisconnectDuringConnect()1370 CookieHandler.setDefault(defaultCookieHandler); in checkDisconnectDuringConnect()
52 public abstract class CookieHandler { class60 private static CookieHandler cookieHandler;72 public static synchronized CookieHandler getDefault() { in getDefault()92 public static synchronized void setDefault(CookieHandler cHandler) { in setDefault()
118 public class CookieManager extends CookieHandler
293 "ojluni/src/main/java/java/net/CookieHandler.java",
328 ojluni/src/main/java/java/net/CookieHandler.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/…
5469 public abstract class CookieHandler {5470 ctor public CookieHandler();5472 method public static java.net.CookieHandler getDefault();5474 method public static void setDefault(java.net.CookieHandler);5477 public class CookieManager extends java.net.CookieHandler {