Home
last modified time | relevance | path

Searched refs:ResponseCache (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DResponseCacheTest.java23 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 …]
/libcore/ojluni/src/main/java/java/net/
DResponseCache.java61 public abstract class ResponseCache { class
70 private static ResponseCache theResponseCache;
83 public static synchronized ResponseCache getDefault() { in getDefault()
106 public static synchronized void setDefault(ResponseCache responseCache) { in setDefault()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java55 import java.net.ResponseCache;
127 ResponseCache.setDefault(null); in tearDown()
829 ResponseCache.setDefault(cache); in initResponseCache()
2722 ResponseCache.setDefault(new ResponseCache() {
2809 ResponseCache.setDefault(new ResponseCache() {
/libcore/
Dopenjdk_java_files.bp331 "ojluni/src/main/java/java/net/ResponseCache.java",
DEXPECTED_UPSTREAM366 ojluni/src/main/java/java/net/ResponseCache.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/…
/libcore/api/
Dcurrent.txt5878 public abstract class ResponseCache {
5879 ctor public ResponseCache();
5881 method public static java.net.ResponseCache getDefault();
5883 method public static void setDefault(java.net.ResponseCache);