HomeSort by relevance Sort by last modified time
    Searched refs:Cookie (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/apache-http/src/org/apache/http/cookie/
CookieSpec.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieSpec.java $
32 package org.apache.http.cookie;
39 * Defines the cookie management specification.
40 * <p>Cookie management specification must define
42 * <li> rules of parsing "Set-Cookie" header
44 * <li> formatting of "Cookie" header
56 * Returns version of the state management this cookie specification
64 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
67 * {@link Cookie}s</p>
71 * @param header the <tt>Set-Cookie</tt> received from the serve
    [all...]
CookiePathComparator.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookiePathComparator.java $
32 package org.apache.http.cookie;
38 * This cookie comparator ensures that multiple cookies satisfying
39 * a common criteria are ordered in the <tt>Cookie</tt> header such
51 public class CookiePathComparator implements Serializable, Comparator<Cookie> {
55 private String normalizePath(final Cookie cookie) {
56 String path = cookie.getPath();
66 public int compare(final Cookie c1, final Cookie c2)
    [all...]
CookieAttributeHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java $
31 package org.apache.http.cookie;
34 * Ths interface represents a cookie attribute handler responsible
35 * for parsing, validating, and matching a specific cookie attribute,
38 * Different cookie specifications can provide a specific
39 * implementation for this class based on their cookie handling
49 * Parse the given cookie attribute value and update the corresponding
50 * {@link org.apache.http.cookie.Cookie} property.
52 * @param cookie {@link org.apache.http.cookie.Cookie} to be update
    [all...]
CookieIdentityComparator.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieIdentityComparator.java $
32 package org.apache.http.cookie;
38 * This cookie comparator can be used to compare identity of cookies.
47 public class CookieIdentityComparator implements Serializable, Comparator<Cookie> {
51 public int compare(final Cookie c1, final Cookie c2) {
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...]
SetCookie.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SetCookie.java $
32 package org.apache.http.cookie;
44 public interface SetCookie extends Cookie {
49 * If a user agent (web browser) presents this cookie to a user, the
50 * cookie's purpose will be described using this comment.
64 * @param expiryDate the {@link Date} after which this cookie is no longer valid.
66 * @see Cookie#getExpiryDate
76 * @see Cookie#getDomain
85 * @see Cookie#getPath
91 * Sets the secure attribute of the cookie
    [all...]
ClientCookie.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/ClientCookie.java $
32 package org.apache.http.cookie;
35 * ClientCookie extends the standard {@link Cookie} interface with
37 * original cookie attributes exactly as they were specified by the
38 * origin server. This is important for generating the <tt>Cookie</tt>
39 * header because some cookie specifications require that the
40 * <tt>Cookie</tt> header should include certain attributes only if
41 * they were specified in the <tt>Set-Cookie</tt> header.
47 public interface ClientCookie extends Cookie {
  /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/apache-http/src/org/apache/http/impl/client/
BasicCookieStore.java 41 import org.apache.http.cookie.Cookie;
42 import org.apache.http.cookie.CookieIdentityComparator;
60 private final ArrayList<Cookie> cookies;
62 private final Comparator<Cookie> cookieComparator;
71 this.cookies = new ArrayList<Cookie>();
76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
77 * If the given cookie has already expired it will not be added, but existing
80 * @param cookie the {@link Cookie cookie} to be adde
    [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...]
RFC2965CommentUrlAttributeHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
42 * <tt>"CommantURL"</tt> cookie attribute handler for RFC 2965 cookie spec
    [all...]
RFC2965DiscardAttributeHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
42 * <tt>"Discard"</tt> cookie attribute handler for RFC 2965 cookie spec
    [all...]
BasicSecureHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
44 public void parse(final SetCookie cookie, final String value)
46 if (cookie == null) {
47 throw new IllegalArgumentException("Cookie may not be null")
    [all...]
BestMatchSpec.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BestMatchSpec.java $
32 package org.apache.http.impl.cookie;
38 import org.apache.http.cookie.Cookie;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.CookieSpec;
41 import org.apache.http.cookie.MalformedCookieException;
44 * 'Meta' cookie specification that selects a cookie policy depending
45 * on the format of the cookie(s
    [all...]
CookieSpecBase.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/CookieSpecBase.java $
32 package org.apache.http.impl.cookie;
40 import org.apache.http.cookie.Cookie;
41 import org.apache.http.cookie.CookieAttributeHandler;
42 import org.apache.http.cookie.CookieOrigin;
43 import org.apache.http.cookie.MalformedCookieException;
46 * Cookie management functions shared by all specification.
71 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin)
73 List<Cookie> cookies = new ArrayList<Cookie>(elems.length)
81 BasicClientCookie cookie = new BasicClientCookie(name, value); local
    [all...]
RFC2109VersionHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
44 public void parse(final SetCookie cookie, final String value)
46 if (cookie == null) {
47 throw new IllegalArgumentException("Cookie may not be null")
    [all...]
BasicPathHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicPathHandler.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;
37 import org.apache.http.cookie.SetCookie;
45 public void parse(final SetCookie cookie, String value)
47 if (cookie == null)
    [all...]
NetscapeDomainHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java $
31 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.Cookie;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
47 public void validate(final Cookie cookie, final CookieOrigin origin)
49 super.validate(cookie, origin);
50 // Perform Netscape Cookie draft specific validatio
    [all...]
RFC2109Spec.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.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.CookiePathComparator;
44 import org.apache.http.cookie.MalformedCookieException;
45 import org.apache.http.cookie.SM;
50 * RFC 2109 compliant cookie polic
165 Cookie cookie = cooky; local
    [all...]
RFC2965VersionAttributeHandler.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.ClientCookie;
35 import org.apache.http.cookie.Cookie;
36 import org.apache.http.cookie.CookieAttributeHandler;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
39 import org.apache.http.cookie.SetCookie;
40 import org.apache.http.cookie.SetCookie2
    [all...]
  /external/llvm/include/llvm/Support/
Signals.h 42 /// is delivered to the process. The handler can have a cookie passed to it
44 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
  /frameworks/base/core/java/android/webkit/
CookieSyncManager.java 21 import android.webkit.CookieManager.Cookie;
27 * The CookieSyncManager is used to synchronize the browser cookie store
107 * @return A list of Cookie
109 ArrayList<Cookie> getCookiesForDomain(String domain) {
111 // persistent cookie. No sync needed.
113 return new ArrayList<Cookie>();
125 // persistent cookie.
138 // persistent cookie.
152 // persistent cookie.
166 // persistent cookie
204 Cookie cookie = iter.next(); local
    [all...]
CookieManager.java 79 // RFC2109 defines 4k as maximum size of a cookie
82 // RFC2109 defines 20 as max cookie count per domain. As we track with base
90 // max cookie count to limit RAM cookie takes less than 100k, it is based on
91 // average cookie entry size is less than 100 bytes
94 // max domain count to limit RAM cookie takes less than 100k,
97 private Map<String, ArrayList<Cookie>> mCookieMap = new LinkedHashMap
98 <String, ArrayList<Cookie>>(MAX_DOMAIN_COUNT, 0.75f, true);
117 * Package level class to be accessed by cookie sync manager
119 static class Cookie {
395 Cookie cookie = cookies.get(i); local
526 Cookie cookie = iter.next(); local
542 Cookie cookie = setIter.next(); local
765 Cookie cookie = iter.next(); local
823 Cookie cookie = iter.next(); local
963 Cookie cookie = null; local
    [all...]
  /external/webkit/Source/WebCore/platform/
Cookie.h 37 struct Cookie {
38 Cookie(const String& name, const String& value, const String& domain,
63 static unsigned hash(Cookie key)
68 static bool equal(Cookie a, Cookie b)
77 template<> struct DefaultHash<WebCore::Cookie> {
CookieJar.h 39 struct Cookie;
46 bool getRawCookies(const Document*, const KURL&, Vector<Cookie>&);

Completed in 1014 milliseconds

1 2 3