/external/apache-http/src/org/apache/http/impl/client/ |
BasicCookieStore.java | 60 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore 71 this.cookies = new ArrayList<Cookie>(); 76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 88 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { 95 cookies.add(cookie); 101 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and 102 * in the given array order. If any of the given cookies has already expired it will 105 * @param cookies the {@link Cookie cookies} to be adde [all...] |
/external/clearsilver/java-jni/servlet/ |
CSPage.java | 57 // Cookies
59 Cookie[] cookies = request.getCookies();
local 60 if (cookies.length > 0) {
61 for (int i = 0; i < cookies.length; i++) {
62 Cookie cookie = cookies[i];
80 /* first do cookies
88 out.println(rb.getString("cookies.set") + "<br>");
89 out.print(rb.getString("cookies.name") + " " + cookieName +
91 out.print(rb.getString("cookies.value") + " " + cookieValue);
|
/external/webkit/WebCore/platform/qt/ |
CookieJarQt.cpp | 69 QList<QNetworkCookie> cookies = QNetworkCookie::parseCookies(QString(value).toAscii()); 71 QList<QNetworkCookie>::Iterator it = cookies.begin(); 72 while (it != cookies.end()) { 74 it = cookies.erase(it); 79 jar->setCookiesFromUrl(cookies, u); 82 String cookies(const Document* document, const KURL& url) function in namespace:WebCore 89 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u); 90 if (cookies.isEmpty()) 94 foreach (QNetworkCookie networkCookie, cookies) { 113 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u) [all...] |
/external/webkit/WebCore/platform/network/soup/ |
CookieJarSoup.cpp | 80 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore 87 char* cookies = soup_cookie_jar_get_cookies(jar, uri, FALSE); local 90 String result(String::fromUTF8(cookies)); 91 g_free(cookies); 103 char* cookies = soup_cookie_jar_get_cookies(jar, uri, TRUE); local 106 String result(String::fromUTF8(cookies)); 107 g_free(cookies);
|
/external/webkit/WebCore/platform/mac/ |
CookieJar.mm | 63 // that, but we also need to avoid sending cookies that were previously stored, and 77 String cookies(const Document*, const KURL& url) 82 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL]; 83 return [[NSHTTPCookie requestHeaderFieldsWithCookies:filterCookies(cookies).get()] objectForKey:@"Cookie"]; 94 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL]; 95 return [[NSHTTPCookie requestHeaderFieldsWithCookies:cookies] objectForKey:@"Cookie"]; 111 // cookiesWithResponseHeaderFields doesn't parse cookies without a value 115 NSArray *cookies = [NSHTTPCookie cookiesWithResponseHeaderFields:[NSDictionary dictionaryWithObject:cookieString forKey:@"Set-Cookie"] forURL:cookieURL]; 116 [[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookies:filterCookies(cookies).get() forURL:cookieURL mainDocumentURL:document->firstPartyForCookies()]; 138 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL] [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109Spec.java | 131 public List<Header> formatCookies(List<Cookie> cookies) { 132 if (cookies == null) { 133 throw new IllegalArgumentException("List of cookies may not be null"); 135 if (cookies.isEmpty()) { 136 throw new IllegalArgumentException("List of cookies may not be empty"); 138 if (cookies.size() > 1) { 140 cookies = new ArrayList<Cookie>(cookies); 141 Collections.sort(cookies, PATH_COMPARATOR); 144 return doFormatOneHeader(cookies); [all...] |
NetscapeDraftSpec.java | 108 * whether multiple cookies may be sent in one header. Hence, comma 147 public List<Header> formatCookies(final List<Cookie> cookies) { 148 if (cookies == null) { 149 throw new IllegalArgumentException("List of cookies may not be null"); 151 if (cookies.isEmpty()) { 152 throw new IllegalArgumentException("List of cookies may not be empty"); 154 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); 157 for (int i = 0; i < cookies.size(); i++) { 158 Cookie cookie = cookies.get(i);
|
BrowserCompatSpec.java | 153 public List<Header> formatCookies(final List<Cookie> cookies) { 154 if (cookies == null) { 155 throw new IllegalArgumentException("List of cookies may not be null"); 157 if (cookies.isEmpty()) { 158 throw new IllegalArgumentException("List of cookies may not be empty"); 160 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); 163 for (int i = 0; i < cookies.size(); i++) { 164 Cookie cookie = cookies.get(i);
|
BestMatchSpec.java | 161 public List<Header> formatCookies(final List<Cookie> cookies) { 162 if (cookies == null) { 166 for (Cookie cookie: cookies) { 172 return getStrict().formatCookies(cookies); 174 return getCompat().formatCookies(cookies);
|
/dalvik/libcore/luni/src/main/java/java/net/ |
CookieHandler.java | 24 * This class provides a way to manage cookies with a HTTP protocol handler. 64 * Gets all cookies for a specific URI from the cookie cache. 67 * a URI to search for applicable cookies. 70 * @return an unchangeable map of all appropriate cookies. 78 * Sets all cookies of a specific URI in the {@code responseHeaders} into 82 * the origin URI of the cookies.
|
/external/webkit/WebCore/platform/network/chromium/ |
CookieJarChromium.cpp | 45 String cookies(const Document* document, const KURL& url) function in namespace:WebCore 47 return ChromiumBridge::cookies(url, document->firstPartyForCookies()); 53 Vector<Cookie> cookies; local 54 getRawCookies(document, url, cookies); 57 for (size_t i = 0; i < cookies.size(); i++) { 58 Cookie cookie = cookies[i];
|
/external/apache-http/src/org/apache/http/client/ |
CookieStore.java | 48 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 57 * Returns all cookies contained in this store. 59 * @return all cookies 64 * Removes all of {@link Cookie cookies} in this store that have expired by 67 * @return true if any cookies were purged. 72 * Clears all cookies.
|
/external/webkit/WebCore/platform/ |
CookieJar.h | 39 // cookies omits HttpOnly cookies. 40 String cookies(const Document*, const KURL&);
|
/external/webkit/WebCore/platform/network/android/ |
CookieJarAndroid.cpp | 39 String cookies(const Document*, const KURL& url) function in namespace:WebCore 41 return PlatformBridge::cookies(url); 47 return PlatformBridge::cookies(url);
|
/external/apache-http/src/org/apache/http/cookie/ |
CookieSpec.java | 43 * <li> rules of validation of parsed cookies 64 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies. 100 * Create <tt>"Cookie"</tt> headers for an array of Cookies. 102 * @param cookies the Cookies format into a Cookie header 103 * @return a Header for the given Cookies. 106 List<Header> formatCookies(List<Cookie> cookies);
|
/frameworks/base/core/java/android/webkit/ |
CookieSyncManager.java | 28 * between RAM and permanent storage. To get the best performance, browser cookies are 29 * saved in RAM. A separate thread saves the cookies between, driven by a timer. 102 * Package level api, called from CookieManager. Get all the cookies which 118 * Package level api, called from CookieManager Clear all cookies in the 132 * Returns true if there are any saved cookies. 145 * Package level api, called from CookieManager Clear all session cookies in 159 * Package level api, called from CookieManager Clear all expired cookies in
|
CookieManager.java | 36 * CookieManager manages cookies according to RFC2109 spec. 154 // both values are null, the cookies match. If both values are 155 // non-null, the cookies match. If one value is null and the other 156 // is non-null, the cookies do not match (i.e. "foo=;" and "foo;") 207 // According to RFC 2109, multiple cookies are ordered in a way such 222 // If both cookies have null values, fall back to using the name 329 ArrayList<Cookie> cookies = null; local 331 cookies = parseCookie(hostAndPath[0], hostAndPath[1], value); 336 if (cookies == null || cookies.size() == 0) 583 ArrayList<Cookie> cookies = new ArrayList<Cookie>(); local [all...] |
JWebCoreJavaBridge.java | 54 * WebCore timers and cookies. 189 * @return A String representing the cookies for the given resource url. 191 private String cookies(String url) { method in class:JWebCoreJavaBridge 196 * Returns whether cookies are enabled or not.
|
/external/clearsilver/man/man3/ |
cgi_cookie_authority.3 | 36 set domain specific cookies. For instance, you might
|
/external/webkit/WebCore/inspector/front-end/ |
CookieItemsView.js | 49 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies."); 73 WebInspector.Cookies.getCookiesAsync(this._updateWithCookies.bind(this)); 97 this._treeElement.subtitle = String.sprintf(WebInspector.UIString("%d cookies (%s)"), this._cookies.length, 135 if (WebInspector.Cookies.cookieMatchesResourceURL(allCookies[i], resourceURL)) { 258 var cookies = this._cookies; 261 for (var i = 0; i < cookies.length; ++i) { 262 if (addedCookies[cookies[i].name]) 264 addedCookies[cookies[i].name] = true; 266 data[0] = cookies[i].name; 267 data[1] = cookies[i].value [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 113 assertEquals(null, mWebView.getTitle()); // no cookies passed 122 assertEquals(null, mWebView.getTitle()); // no cookies passed 153 // clean up all cookies 169 @ToBeFixed(explanation = "CookieManager.hasCookies() should also count cookies in RAM cache") 183 // sync cookie from RAM to FLASH, because hasCookies() only counts FLASH cookies 192 // clean up all cookies
|
/external/webkit/WebCore/platform/haiku/ |
CookieJarHaiku.cpp | 50 String cookies(const Document*, const KURL& url) function in namespace:WebCore 57 // FIXME: include HttpOnly cookies.
|
/external/webkit/WebCore/platform/network/win/ |
CookieJarWin.cpp | 47 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore 65 return cookies(document, url);
|
/external/dbus/dbus/ |
dbus-keyring.h | 2 /* dbus-keyring.h Store secret cookies in your homedir
|
/external/webkit/WebKit/android/WebCoreSupport/ |
CookieClient.h | 41 virtual String cookies(const KURL& url) = 0;
|