Searched refs:ResponseCache (Results 1 – 4 of 4) sorted by relevance
23 import java.net.ResponseCache;37 assertNull(ResponseCache.getDefault()); in test_GetDefault()45 ResponseCache rc1 = new MockResponseCache(); in test_SetDefaultLjava_net_ResponseCache_Normal()46 ResponseCache rc2 = new MockResponseCache(); in test_SetDefaultLjava_net_ResponseCache_Normal()47 ResponseCache.setDefault(rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()48 assertSame(ResponseCache.getDefault(), rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()49 ResponseCache.setDefault(rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()50 assertSame(ResponseCache.getDefault(), rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()51 ResponseCache.setDefault(null); in test_SetDefaultLjava_net_ResponseCache_Normal()52 assertNull(ResponseCache.getDefault()); in test_SetDefaultLjava_net_ResponseCache_Normal()[all …]
61 public abstract class ResponseCache { class70 private static ResponseCache theResponseCache;83 public synchronized static ResponseCache getDefault() { in getDefault()106 public synchronized static void setDefault(ResponseCache responseCache) { in setDefault()
51 import java.net.ResponseCache;123 ResponseCache.setDefault(null); in tearDown()825 ResponseCache.setDefault(cache); in initResponseCache()2718 ResponseCache.setDefault(new ResponseCache() {2805 ResponseCache.setDefault(new ResponseCache() {
309 "ojluni/src/main/java/java/net/ResponseCache.java",