/libcore/luni/src/main/java/java/net/ |
CookiePolicy.java | 20 * CookiePolicy has three pre-defined policy. They are ACCEPT_ALL, ACCEPT_NONE 28 public interface CookiePolicy { 33 static final CookiePolicy ACCEPT_ALL = new CookiePolicy() { 42 static final CookiePolicy ACCEPT_NONE = new CookiePolicy() { 51 static final CookiePolicy ACCEPT_ORIGINAL_SERVER = new CookiePolicy() {
|
CookieManager.java | 29 * CookiePolicy. The former is in charge of cookie storage and the latter makes 35 * CookieManager.put uses CookiePolicy.shouldAccept to decide whether to put 36 * some cookies into a cookie store. Three built-in CookiePolicy is defined: 38 * the policy by implementing CookiePolicy. Any accepted HTTP cookie is stored 48 * The CookiePolicy and CookieStore used are customized. Third, use the 49 * customized CookiePolicy and the CookieStore. 58 private CookiePolicy policy; 82 * @param cookiePolicy 83 * a CookiePolicy to be used by cookie manager 86 public CookieManager(CookieStore store, CookiePolicy cookiePolicy) [all...] |
/external/apache-http/src/org/apache/http/client/params/ |
CookiePolicy.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/params/CookiePolicy.java $ 34 public final class CookiePolicy { 62 private CookiePolicy() {
|
HttpClientParams.java | 86 String cookiePolicy = (String) 88 if (cookiePolicy == null) { 89 return CookiePolicy.BEST_MATCH; 91 return cookiePolicy; 94 public static void setCookiePolicy(final HttpParams params, final String cookiePolicy) { 98 params.setParameter(ClientPNames.COOKIE_POLICY, cookiePolicy);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookiePolicyTest.java | 19 import java.net.CookiePolicy; 29 * java.net.CookiePolicy#shouldAccept(java.net.URI, 37 CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(null, cookie); 44 CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, null); 51 CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(null, null); 58 boolean accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, cookie); 61 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, null); 64 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); 68 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, cookie); 71 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, null) [all...] |
CookieManagerTest.java | 21 import java.net.CookiePolicy; 93 Map<String, List<String>> responseHeaders, CookiePolicy policy) 183 CookiePolicy.ACCEPT_ALL); 191 CookiePolicy.ACCEPT_NONE); 198 CookiePolicy.ACCEPT_ALL); 222 * {@link java.net.CookieManager#CookieManager(java.net.CookieStore, java.net.CookiePolicy)} 257 CookiePolicy.ACCEPT_ALL); 264 * {@link java.net.CookieManager#setCookiePolicy(java.net.CookiePolicy)} 272 manager.setCookiePolicy(CookiePolicy.ACCEPT_NONE); 282 manager.setCookiePolicy(CookiePolicy.ACCEPT_ALL) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultHttpClient.java | 45 import org.apache.http.client.params.CookiePolicy; 262 CookiePolicy.BEST_MATCH, 265 CookiePolicy.BROWSER_COMPATIBILITY, 268 CookiePolicy.NETSCAPE, 271 CookiePolicy.RFC_2109, 274 CookiePolicy.RFC_2965,
|
/external/chromium_org/content/browser/loader/ |
resource_dispatcher_host_browsertest.cc | 455 IN_PROC_BROWSER_TEST_F(ResourceDispatcherHostBrowserTest, CookiePolicy) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
CookiesTest.java | 41 import static java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cookielib.py | 28 __all__ = ['Cookie', 'CookieJar', 'CookiePolicy', 'DefaultCookiePolicy', 716 normalising to the representation used in this class. CookiePolicy is 805 class CookiePolicy: 838 class DefaultCookiePolicy(CookiePolicy): [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cookielib.py | 28 __all__ = ['Cookie', 'CookieJar', 'CookiePolicy', 'DefaultCookiePolicy', 716 normalising to the representation used in this class. CookiePolicy is 805 class CookiePolicy: 838 class DefaultCookiePolicy(CookiePolicy): [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
CookiesTest.java | 25 import static java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER;
|
/external/chromium_org/content/browser/download/ |
download_browsertest.cc | [all...] |
/external/robolectric/lib/main/ |
httpclient-4.0.3.jar | |
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/ |
httpclient-4.1.1.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.commons.httpclient_3.1.0.v201005080502.jar | |
/external/smack/asmack-master/lib/ |
httpclient-4.1.3.jar | |
/prebuilts/devtools/tools/lib/ |
httpclient-4.1.1.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar | |
/prebuilts/tools/common/http-client/ |
httpclient-4.1.1.jar | |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.1.1/ |
httpclient-4.1.1.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |