/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieHandlerTest.java | 20 import java.net.CookieHandler; 31 * java.net.CookieHandler#getDefault() 34 assertNull(CookieHandler.getDefault()); 38 * java.net.CookieHandler#setDefault(CookieHandler) 43 CookieHandler.setDefault(rc1); 44 assertSame(CookieHandler.getDefault(), rc1); 45 CookieHandler.setDefault(rc2); 46 assertSame(CookieHandler.getDefault(), rc2); 47 CookieHandler.setDefault(null) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldCookieHandlerTest.java | 23 import java.net.CookieHandler; 48 assertNull(CookieHandler.getDefault()); 53 CookieHandler defaultHandler = CookieHandler.getDefault(); 55 CookieHandler.setDefault(mch); 75 CookieHandler.setDefault(defaultHandler); 79 private static class MockCookieHandler extends CookieHandler {
|
AbstractCookiesTest.java | 39 import java.net.CookieHandler; 69 private CookieHandler defaultHandler; 78 defaultHandler = CookieHandler.getDefault(); 84 CookieHandler.setDefault(defaultHandler); 94 CookieHandler.setDefault(cookieManager); 122 CookieHandler.setDefault(cookieManager); 152 CookieHandler.setDefault(cookieManager); 187 CookieHandler.setDefault(cookieManager); 348 CookieHandler.setDefault(cookieManager); 376 CookieHandler.setDefault(cookieManager) [all...] |
/libcore/ojluni/src/main/java/java/net/ |
CookieHandler.java | 34 * A CookieHandler object provides a callback mechanism to hook up a 39 * <p>A system-wide CookieHandler that to used by the HTTP protocol 41 * CookieHandler.setDefault(CookieHandler). The currently registered 42 * CookieHandler can be retrieved by calling 43 * CookieHandler.getDefault(). 52 public abstract class CookieHandler { 57 * @see setDefault(CookieHandler) 60 private static CookieHandler cookieHandler; [all...] |
CookieManager.java | 37 * CookieManager provides a concrete implementation of {@link CookieHandler}, 47 * CookieHandler <------- HttpURLConnection 65 * CookieHandler is at the core of cookie management. User can call 66 * CookieHandler.setDefault to set a concrete CookieHanlder implementation 93 * <li>Use CookieHandler.setDefault to set a brand new {@link CookieHandler} implementation 94 * <li>Let CookieManager be the default {@link CookieHandler} implementation, 99 * CookieHandler.setDefault(new CookieManager(new MyCookieStore(), new MyCookiePolicy())); 101 * <li>Let CookieManager be the default {@link CookieHandler} implementation, but 105 * CookieHandler.setDefault(new CookieManager()) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
CookiesTest.java | 25 import java.net.CookieHandler; 59 CookieHandler.setDefault(null); 65 CookieHandler.setDefault(cookieManager); 93 CookieHandler.setDefault(cookieManager); 123 CookieHandler.setDefault(cookieManager); 157 CookieHandler.setDefault(cookieManager); 203 CookieHandler.setDefault(cookieManager); 235 CookieHandler.setDefault(cookieManager); 263 CookieHandler.setDefault(new CookieManager() { 317 CookieHandler.setDefault(new CookieManager() [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 29 import java.net.CookieHandler; 181 private CookieHandler cookieHandler; 215 this.cookieHandler = okHttpClient.cookieHandler; 328 * <p>If unset, the {@link CookieHandler#getDefault() system-wide default} 331 public OkHttpClient setCookieHandler(CookieHandler cookieHandler) { 332 this.cookieHandler = cookieHandler; [all...] |
/frameworks/base/media/java/android/media/ |
MediaHTTPConnection.java | 27 import java.net.CookieHandler; 64 if (CookieHandler.getDefault() == null) { 65 CookieHandler.setDefault(new CookieManager());
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
CookieIntegrationTest.java | 69 CookieHandler cookies = session.getCookies();
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
CtsTestRunListener.java | 41 import java.net.CookieHandler; 230 CookieHandler.setDefault(null);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
OkHttpClientTest.java | 26 import java.net.CookieHandler; 49 private static final CookieHandler DEFAULT_COOKIE_HANDLER = CookieManager.getDefault();
|
CacheTest.java | 29 import java.net.CookieHandler; 90 CookieHandler.setDefault(cookieManager); 95 CookieHandler.setDefault(null); [all...] |
/external/vogar/src/vogar/target/ |
TestEnvironment.java | 23 import java.net.CookieHandler; 167 CookieHandler.setDefault(null);
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/ |
Vvm3Subscriber.java | 46 import java.net.CookieHandler; 137 CookieHandler.setDefault(cookieManager);
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
NanoHTTPD.java | 252 public class CookieHandler implements Iterable<String> { 258 public CookieHandler(Map<String, String> httpHeaders) { 561 private CookieHandler cookies; 830 this.cookies = new CookieHandler(this.headers); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpEngine.java | 40 import java.net.CookieHandler; 707 CookieHandler cookieHandler = client.getCookieHandler(); 708 if (cookieHandler != null) { 709 // Capture the request headers added so far so that they can be offered to the CookieHandler. 714 Map<String, List<String>> cookies = cookieHandler.get(request.uri(), headers); [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
HttpURLConnection.java | 43 import java.net.CookieHandler; 272 private CookieHandler cookieHandler; 737 cookieHandler = CookieHandler.getDefault(); 740 cookieHandler = java.security.AccessController.doPrivileged( 741 new java.security.PrivilegedAction<CookieHandler>() { 742 public CookieHandler run() { 743 return CookieHandler.getDefault(); [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
HttpClient.java | 703 CookieHandler cookieHandler = httpuc.getCookieHandler(); 704 if (cookieHandler != null) { 711 cookieHandler.put(uri, responses.getHeaders()); [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
UrlConnectionCacheTest.java | 34 import java.net.CookieHandler; 95 CookieHandler.setDefault(cookieManager); 100 CookieHandler.setDefault(null); [all...] |
/libcore/ |
openjdk_java_files.mk | 246 ojluni/src/main/java/java/net/CookieHandler.java \ [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |