HomeSort by relevance Sort by last modified time
    Searched full:cookie (Results 51 - 75 of 1182) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/webkit/LayoutTests/http/tests/cookies/resources/
cookies-test-pre.js 155 // We do not set the cookie right away as it is forbidden by the XHR spec.
157 function setCookies(cookie)
162 xhr.setRequestHeader("SET_COOKIE", cookie);
166 cookies.push(cookie);
175 // Normalize a cookie string
176 function normalizeCookie(cookie)
178 // Split the cookie string, sort it and then put it back together.
179 return cookie.split('; ').sort().join('; ');
188 var cookie = xhr.getResponseHeader("HTTP_COOKIE") == null ? '"null"' : xhr.getResponseHeader("HTTP_COOKIE");
190 // Normalize the cookie strings
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
AbstractCookieAttributeHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
40 public void validate(final Cookie cookie, final CookieOrigin origin)
45 public boolean match(final Cookie cookie, final CookieOrigin origin)
    [all...]
NetscapeDraftSpec.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java $
32 package org.apache.http.impl.cookie;
40 import org.apache.http.cookie.ClientCookie;
41 import org.apache.http.cookie.Cookie;
42 import org.apache.http.cookie.CookieOrigin;
43 import org.apache.http.cookie.MalformedCookieException;
44 import org.apache.http.cookie.SM;
50 * Netscape cookie draft compliant cookie polic
158 Cookie cookie = cookies.get(i); local
    [all...]
BasicCommentHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicCommentHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.MalformedCookieException;
34 import org.apache.http.cookie.SetCookie;
42 public void parse(final SetCookie cookie, final String value)
44 if (cookie == null) {
45 throw new IllegalArgumentException("Cookie may not be null");
47 cookie.setComment(value);
  /external/webkit/Source/WebKit/efl/ewk/
ewk_cookies.h 39 * @brief Describes properties of an HTTP cookie.
42 /// the cookie name
44 /// the cookie value
46 /// the "domain" attribute, or else the hostname that the cookie came from
50 /// the cookie expiration time, or @c 0 for a session cookie
52 /// @c EINA_TRUE if the cookie should only be tranferred over SSL
54 /// @c EINA_TRUE if the cookie should not be exposed to scripts
68 /// Accepts every cookie sent from any page.
81 EAPI void ewk_cookies_cookie_del(Ewk_Cookie *cookie);
    [all...]
  /external/webkit/LayoutTests/fast/cookies/
local-file-can-set-cookies-expected.txt 6 PASS document.cookie.indexOf('ppkcookie1=testcookie') is -1
7 PASS document.cookie.indexOf('ppkcookie1=testcookie') >= 0 is true
local-file-can-set-cookies.html 14 shouldBe("document.cookie.indexOf('ppkcookie1=testcookie')", "-1");
15 document.cookie = 'ppkcookie1=testcookie';
16 shouldBeTrue("document.cookie.indexOf('ppkcookie1=testcookie') >= 0");
  /external/webkit/LayoutTests/http/tests/cookies/script-tests/
simple-cookies-expired.js 7 debug("Check that setting a simple cookie works.");
13 debug("Check setting a cookie that timed out.");
  /libcore/luni/src/main/java/java/net/
CookiePolicy.java 34 public boolean shouldAccept(URI uri, HttpCookie cookie) {
43 public boolean shouldAccept(URI uri, HttpCookie cookie) {
52 public boolean shouldAccept(URI uri, HttpCookie cookie) {
53 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost());
58 * This method is used to determine whether or not the specified cookie
63 * @param cookie
65 * @return true if this cookie should be accepted; false otherwise
67 boolean shouldAccept(URI uri, HttpCookie cookie);
HttpCookie.java 31 * session with an HTTP server. This class parses cookie headers for all three
32 * commonly used HTTP cookie specifications:
35 * <li>The Netscape cookie spec is officially obsolete but widely used in
36 * practice. Each cookie contains one key-value pair and the following
45 * the Netscape cookie spec. It replaces the {@code Expires} timestamp
51 * CommentURL} attributes and renames the header from {@code Set-Cookie}
131 * Returns true if {@code cookie} should be sent to or accepted from {@code uri} with respect
132 * to the cookie's path. Cookies match by directory prefix: URI "/foo" matches cookies "/foo",
135 static boolean pathMatches(HttpCookie cookie, URI uri) {
137 String cookiePath = matchablePath(cookie.getPath())
265 HttpCookie cookie = new HttpCookie(name, value); local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_cookies_helpers.cc 49 const net::CookieMonster::CanonicalCookie& cookie,
53 result->SetString(keys::kNameKey, cookie.Name());
54 result->SetString(keys::kValueKey, cookie.Value());
55 result->SetString(keys::kDomainKey, cookie.Domain());
57 net::CookieMonster::DomainIsHostOnly(cookie.Domain()));
58 result->SetString(keys::kPathKey, cookie.Path());
59 result->SetBoolean(keys::kSecureKey, cookie.IsSecure());
60 result->SetBoolean(keys::kHttpOnlyKey, cookie.IsHttpOnly());
61 result->SetBoolean(keys::kSessionKey, !cookie.DoesExpire());
62 if (cookie.DoesExpire())
    [all...]
  /external/apache-http/src/org/apache/http/cookie/
Cookie.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/Cookie.java $
32 package org.apache.http.cookie;
37 * HTTP "magic-cookie" represents a piece of state information
45 public interface Cookie {
62 * Returns the comment describing the purpose of this cookie, or
70 * If a user agent (web browser) presents this cookie to a user, the
71 * cookie's purpose will be described by the information at this URL.
76 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
86 * Returns <tt>false</tt> if the cookie should be discarded at the en
    [all...]
CookieSpecRegistry.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java $
32 package org.apache.http.cookie;
43 * Cookie specification registry that can be used to obtain the corresponding
44 * cookie specification implementation for a given type of type or version of
45 * cookie.
77 throw new IllegalArgumentException("Cookie spec factory may not be null");
85 * @param id the identifier of the {@link CookieSpec cookie specification} to unregister
95 * Gets the {@link CookieSpec cookie specification} with the given ID.
97 * @param name the {@link CookieSpec cookie specification} identifier
98 * @param params the {@link HttpParams HTTP parameters} for the cookie
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
CookiesTest.java 53 server.enqueue(new MockResponse().addHeader("Set-Cookie: a=android; "
62 HttpCookie cookie = cookies.get(0); local
63 assertEquals("a", cookie.getName());
64 assertEquals("android", cookie.getValue());
65 assertEquals(null, cookie.getComment());
66 assertEquals(null, cookie.getCommentURL());
67 assertEquals(false, cookie.getDiscard());
68 assertEquals(".local", cookie.getDomain());
69 assertTrue(cookie.getMaxAge() > 100000000000L);
70 assertEquals("/path", cookie.getPath())
92 HttpCookie cookie = cookies.get(0); local
125 HttpCookie cookie = cookies.get(0); local
159 HttpCookie cookie = cookies.get(0); local
283 HttpCookie cookie = new HttpCookie("c", "cookie"); local
425 HttpCookie cookie = new HttpCookie("Foo", "foo"); local
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/content_settings/
cookie_details_view_controller.h 13 // Controller for the view that displays the details of a cookie,
14 // used both in the cookie prompt dialog as well as the
19 // the displayed cookie information.
33 // Configures the cookie detail view that is managed by the controller
34 // to display the information about a single cookie, the information
42 // Called by the cookie tree dialog to establish a binding between
44 // This binding allows the cookie tree to use the detail view unmodified.
  /external/apache-http/src/org/apache/http/client/
CookieStore.java 36 import org.apache.http.cookie.Cookie;
39 * Abstract cookie store.
48 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
49 * If the given cookie has already expired it will not be added, but existing
52 * @param cookie the {@link Cookie cookie} to be added
54 void addCookie(Cookie cookie)
    [all...]
  /external/chromium/chrome/browser/net/
cookie_policy_browsertest.cc 69 // Visits a page that sets a first-party cookie.
76 GURL url(test_server()->GetURL("set-cookie?cookie1"));
78 std::string cookie = GetCookies(url); local
79 ASSERT_EQ("", cookie);
83 cookie = GetCookies(url);
84 EXPECT_EQ("cookie1", cookie);
88 // a first-party cookie.
97 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2"));
100 // third-party cookie blocking if the first party for cookies URL is not
108 std::string cookie = GetCookies(redirected_url) local
    [all...]
chrome_cookie_notification_details.h 16 : cookie(cookie_copy),
21 const net::CookieMonster::CanonicalCookie* cookie; member in struct:ChromeCookieDetails
  /external/chromium/net/base/
cookie_monster_store_test.h 27 const CookieMonster::CanonicalCookie& cookie)
29 cookie(cookie) {}
32 CookieMonster::CanonicalCookie cookie; member in struct:net::CookieStoreCommand
57 virtual void AddCookie(const CookieMonster::CanonicalCookie& cookie);
60 const CookieMonster::CanonicalCookie& cookie);
63 const CookieMonster::CanonicalCookie& cookie);
93 const CookieMonster::CanonicalCookie& cookie,
112 // Just act like a backing database. Keep cookie information from
124 const CookieMonster::CanonicalCookie& cookie);
    [all...]
cookie_monster_store_test.cc 37 const CookieMonster::CanonicalCookie& cookie) {
39 CookieStoreCommand(CookieStoreCommand::ADD, cookie));
43 const CookieMonster::CanonicalCookie& cookie) {
45 CookieStoreCommand::UPDATE_ACCESS_TIME, cookie));
49 const CookieMonster::CanonicalCookie& cookie) {
51 CookieStoreCommand(CookieStoreCommand::REMOVE, cookie));
67 const CookieMonster::CanonicalCookie& cookie,
70 CookieNotification notification(cookie, removed);
82 // Parse the cookie line.
86 // This helper is simplistic in interpreting a parsed cookie, in order t
    [all...]
  /sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
MergeCookie.java 23 * top level item that can use the {@code include} item as cookie.
25 * This class is used as a cookie for all items under the {@code merge} (while referencing the
26 * original {@code include} cookie) to make it easy on the client to group all merged items
34 public MergeCookie(Object cookie) {
35 mCookie = cookie;
  /external/chromium/chrome/common/extensions/docs/examples/api/cookies/
manager.html 75 this.add = function(cookie) {
76 var domain = cookie.domain;
80 this.cookies_[domain].push(cookie);
83 this.remove = function(cookie) {
84 var domain = cookie.domain;
88 if (cookieMatch(this.cookies_[domain][i], cookie)) {
100 // Returns a sorted list of cookie domains that match |filter|. If |filter| is
132 cache.getCookies(domain).forEach(function(cookie) {
133 all_cookies.push(cookie);
151 function removeCookie(cookie) {
    [all...]
  /frameworks/base/core/java/android/content/
AsyncQueryHandler.java 56 public Object cookie; field in class:AsyncQueryHandler.WorkerArgs
148 * @param cookie An object that gets passed into {@link #onQueryComplete}
164 public void startQuery(int token, Object cookie, Uri uri,
178 args.cookie = cookie;
203 * @param cookie An object that gets passed into {@link #onInsertComplete}
207 public final void startInsert(int token, Object cookie, Uri uri,
216 args.cookie = cookie;
229 * @param cookie An object that gets passed into {@link #onUpdateComplete
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
CookieManagerTest.java 129 String cookie = mCookieManager.getCookie(url); local
130 assertNotNull(cookie);
131 // 'count' value of the returned cookie is 0
133 Matcher m = pat.matcher(cookie);
139 assertEquals("count=0", mWebView.getTitle()); // outgoing cookie
141 cookie = mCookieManager.getCookie(url);
142 assertNotNull(cookie);
143 m = pat.matcher(cookie);
150 assertEquals("count=41", mWebView.getTitle()); // outgoing cookie
152 cookie = mCookieManager.getCookie(url)
184 String cookie = "name=test"; local
296 String cookie = mCookieManager.getCookie(uri); local
    [all...]
  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 52 import org.apache.http.cookie.Cookie;
53 import org.apache.http.cookie.CookieOrigin;
54 import org.apache.http.cookie.CookieSpec;
55 import org.apache.http.cookie.CookieSpecRegistry;
87 // Obtain cookie store
91 this.log.info("Cookie store not available in HTTP context");
95 // Obtain the registry of cookie specs
146 // Get an instance of the selected cookie policy
149 List<Cookie> cookies = new ArrayList<Cookie>(cookieStore.getCookies())
    [all...]

Completed in 975 milliseconds

1 23 4 5 6 7 8 91011>>