Searched refs:Cookie (Results 1 - 25 of 71) sorted by relevance

123

/external/apache-http/src/org/apache/http/cookie/
H A DCookieSpec.java40 * <p>Cookie management specification must define
42 * <li> rules of parsing "Set-Cookie" header
44 * <li> formatting of "Cookie" header
69 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
72 * {@link Cookie}s</p>
76 * @param header the <tt>Set-Cookie</tt> received from the server
78 * @return an array of <tt>Cookie</tt>s parsed from the header
81 List<Cookie> parse(Header header, CookieOrigin origin) throws MalformedCookieException;
87 * @param cookie the Cookie to validate
91 void validate(Cookie cooki
[all...]
H A DCookiePathComparator.java39 * a common criteria are ordered in the <tt>Cookie</tt> header such
56 public class CookiePathComparator implements Serializable, Comparator<Cookie> {
60 private String normalizePath(final Cookie cookie) {
71 public int compare(final Cookie c1, final Cookie c2) {
H A DCookieAttributeHandler.java55 * {@link org.apache.http.cookie.Cookie} property.
57 * @param cookie {@link org.apache.http.cookie.Cookie} to be updated
66 * @param cookie {@link org.apache.http.cookie.Cookie} to validate
70 void validate(Cookie cookie, CookieOrigin origin)
77 * @param cookie {@link org.apache.http.cookie.Cookie} to match
81 boolean match(Cookie cookie, CookieOrigin origin);
H A DCookieIdentityComparator.java52 public class CookieIdentityComparator implements Serializable, Comparator<Cookie> {
56 public int compare(final Cookie c1, final Cookie c2) {
H A DCookie.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/Cookie.java $
50 public interface Cookie { interface
115 * may be returned in a Cookie request header.
H A DSetCookie.java49 public interface SetCookie extends Cookie {
71 * @see Cookie#getExpiryDate
81 * @see Cookie#getDomain
90 * @see Cookie#getPath
115 * @see Cookie#getVersion
H A DClientCookie.java35 * ClientCookie extends the standard {@link Cookie} interface with
38 * origin server. This is important for generating the <tt>Cookie</tt>
40 * <tt>Cookie</tt> header should include certain attributes only if
41 * they were specified in the <tt>Set-Cookie</tt> header.
52 public interface ClientCookie extends Cookie {
/external/apache-http/src/org/apache/http/client/
H A DCookieStore.java36 import org.apache.http.cookie.Cookie;
53 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
57 * @param cookie the {@link Cookie cookie} to be added
59 void addCookie(Cookie cookie);
66 List<Cookie> getCookies();
69 * Removes all of {@link Cookie cookies} in this store that have expired by
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicCookieStore.java41 import org.apache.http.cookie.Cookie;
65 private final ArrayList<Cookie> cookies;
67 private final Comparator<Cookie> cookieComparator;
76 this.cookies = new ArrayList<Cookie>();
81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
85 * @param cookie the {@link Cookie cookie} to be added
87 * @see #addCookies(Cookie[])
90 public synchronized void addCookie(Cookie cookie) {
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
106 * Adds an array of {@link Cookie HTT
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DAbstractCookieAttributeHandler.java33 import org.apache.http.cookie.Cookie;
46 public void validate(final Cookie cookie, final CookieOrigin origin)
51 public boolean match(final Cookie cookie, final CookieOrigin origin) {
H A DRFC2965CommentUrlAttributeHandler.java34 import org.apache.http.cookie.Cookie;
63 public void validate(final Cookie cookie, final CookieOrigin origin)
67 public boolean match(final Cookie cookie, final CookieOrigin origin) {
H A DRFC2965DiscardAttributeHandler.java34 import org.apache.http.cookie.Cookie;
63 public void validate(final Cookie cookie, final CookieOrigin origin)
67 public boolean match(final Cookie cookie, final CookieOrigin origin) {
H A DBasicSecureHandler.java33 import org.apache.http.cookie.Cookie;
53 throw new IllegalArgumentException("Cookie may not be null");
59 public boolean match(final Cookie cookie, final CookieOrigin origin) {
61 throw new IllegalArgumentException("Cookie may not be null");
64 throw new IllegalArgumentException("Cookie origin may not be null");
H A DBestMatchSpec.java38 import org.apache.http.cookie.Cookie;
100 public List<Cookie> parse(
107 throw new IllegalArgumentException("Cookie origin may not be null");
137 final Cookie cookie,
140 throw new IllegalArgumentException("Cookie may not be null");
143 throw new IllegalArgumentException("Cookie origin may not be null");
152 public boolean match(final Cookie cookie, final CookieOrigin origin) {
154 throw new IllegalArgumentException("Cookie may not be null");
157 throw new IllegalArgumentException("Cookie origin may not be null");
166 public List<Header> formatCookies(final List<Cookie> cookie
[all...]
H A DCookieSpecBase.java40 import org.apache.http.cookie.Cookie;
46 * Cookie management functions shared by all specification.
76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin)
78 List<Cookie> cookies = new ArrayList<Cookie>(elems.length);
83 throw new MalformedCookieException("Cookie name may not be empty");
108 public void validate(final Cookie cookie, final CookieOrigin origin)
111 throw new IllegalArgumentException("Cookie may not be null");
114 throw new IllegalArgumentException("Cookie origin may not be null");
121 public boolean match(final Cookie cooki
[all...]
H A DRFC2109VersionHandler.java33 import org.apache.http.cookie.Cookie;
53 throw new IllegalArgumentException("Cookie may not be null");
70 public void validate(final Cookie cookie, final CookieOrigin origin)
73 throw new IllegalArgumentException("Cookie may not be null");
76 throw new MalformedCookieException("Cookie version may not be negative");
H A DBasicPathHandler.java33 import org.apache.http.cookie.Cookie;
54 throw new IllegalArgumentException("Cookie may not be null");
62 public void validate(final Cookie cookie, final CookieOrigin origin)
71 public boolean match(final Cookie cookie, final CookieOrigin origin) {
73 throw new IllegalArgumentException("Cookie may not be null");
76 throw new IllegalArgumentException("Cookie origin may not be null");
H A DNetscapeDomainHandler.java36 import org.apache.http.cookie.Cookie;
53 public void validate(final Cookie cookie, final CookieOrigin origin)
56 // Perform Netscape Cookie draft specific validation
97 public boolean match(Cookie cookie, CookieOrigin origin) {
99 throw new IllegalArgumentException("Cookie may not be null");
102 throw new IllegalArgumentException("Cookie origin may not be null");
H A DRFC2109Spec.java41 import org.apache.http.cookie.Cookie;
108 public List<Cookie> parse(final Header header, final CookieOrigin origin)
114 throw new IllegalArgumentException("Cookie origin may not be null");
121 public void validate(final Cookie cookie, final CookieOrigin origin)
124 throw new IllegalArgumentException("Cookie may not be null");
128 throw new MalformedCookieException("Cookie name may not contain blanks");
131 throw new MalformedCookieException("Cookie name may not start with $");
136 public List<Header> formatCookies(List<Cookie> cookies) {
145 cookies = new ArrayList<Cookie>(cookies);
155 private List<Header> doFormatOneHeader(final List<Cookie> cookie
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCookie.h37 struct Cookie { struct in namespace:blink
38 Cookie() { } function in struct:blink::Cookie
40 Cookie(const String& name, const String& value, const String& domain, function in struct:blink::Cookie
65 static unsigned hash(Cookie key)
70 static bool equal(Cookie a, Cookie b)
78 template<> struct DefaultHash<blink::Cookie> {
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DCookieJar.h37 struct Cookie;
43 bool getRawCookies(const Document*, const KURL&, Vector<Cookie>&);
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DCookieList.java53 String name = Cookie.unescape(x.nextTo('='));
55 o.put(name, Cookie.unescape(x.nextTo(';')));
82 sb.append(Cookie.escape(s));
84 sb.append(Cookie.escape(o.getString(s)));
/external/llvm/include/llvm/Support/
H A DSignals.h48 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
H A DCookieIntegrationTest.java35 testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30));
67 List<Cookie> cookiesReceived = new ArrayList<Cookie>();
68 List<Cookie> cookiesToSend = new ArrayList<Cookie>();
77 cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName)));
79 for (Cookie c : cookiesToSend) {
/external/clang/include/clang/AST/
H A DASTDiagnostic.h43 void *Cookie,

Completed in 732 milliseconds

123