Home
last modified time | relevance | path

Searched refs:Cookie (Results 1 – 25 of 126) sorted by relevance

123456

/external/curl/tests/data/
Dtest3119 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
21 Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/
22 Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite
23 Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure
24 Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=
25 Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=
26 Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ;
27 Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ;
28 Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ;
[all …]
Dtest838 Set-Cookie: foobar=name; domain=%HOSTIP; path=/;
39 Set-Cookie: mismatch=this; domain=%HOSTIP; path="/silly/";
40 Set-Cookie: partmatch=present; domain=.0.0.1; path=/w;
41 Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey;
42 Set-Cookie: cookie=yes; path=/we;
43 Set-Cookie: cookie=perhaps; path=/we/want;
44 Set-Cookie: nocookie=yes; path=/WE;
45 Set-Cookie: blexp=yesyes; domain=%HOSTIP; domain=%HOSTIP; expiry=totally bad;
46 Set-Cookie: partialip=nono; domain=.0.0.1;
63 Cookie: cookie=perhaps; cookie=yes; foobar=name; blexp=yesyes
Dtest141522 Set-Cookie: test1value=test1; domain=example.com; path=/;
23 Set-Cookie: test2value=test2; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
24 Set-Cookie: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
25 Set-Cookie: test4value=test4; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
26 Set-Cookie: test5value=test5; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
27 Set-Cookie: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
28 Set-Cookie: test7value=test7; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
29 Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
65 # Netscape HTTP Cookie File
Dtest719 Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
20 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
21 Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
56 Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
57 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
58 Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
Dtest4618 Set-Cookie: ckyPersistent=permanent; expires=Fri, 02-Feb-2035 11:56:27 GMT; path=/
19 Set-Cookie: ckySession=temporary; path=/
20 Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
21 Set-Cookie: justaname=; path=/;
22 Set-Cookie: simplyhuge=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz…
48 # Netscape HTTP Cookie File
69 Cookie: empty=; mooo2=indeed2; mooo=indeed
73 # Netscape HTTP Cookie File
Dtest6120 Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
22 Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
23 Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
24 Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
25 Set-Cookie: fake=fooledyou; domain=..com; path=/;
26 Set-Cookie: supercookie=fooledyou; domain=.com; path=/;^M
64 # Netscape HTTP Cookie File
Dtest102518 Set-Cookie: firstcookie=want; path=/want/
29 Set-Cookie: nextcookie=data; path=/data/
49 Set-Cookie: firstcookie=want; path=/want/
56 Set-Cookie: nextcookie=data; path=/data/
91 Cookie: forcedcookie=yes
96 Cookie: forcedcookie=yes
101 Cookie: firstcookie=want; forcedcookie=yes
Dtest110418 Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
19 Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
39 Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
40 Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
81 Cookie: test2=true
/external/apache-http/src/org/apache/http/impl/client/
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>(); in BasicCookieStore()
90 public synchronized void addCookie(Cookie cookie) { in addCookie()
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { in addCookie()
115 public synchronized void addCookies(Cookie[] cookies) { in addCookies()
117 for (Cookie cooky : cookies) { in addCookies()
129 public synchronized List<Cookie> getCookies() { in getCookies()
146 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { in clearExpired()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DContinuingHttpServletRequestTest.java26 import javax.servlet.http.Cookie;
33 private static final int DEFAULT_MAX_AGE = new Cookie("", "").getMaxAge();
47 Cookie[] cookies = new Cookie[]{ in testReturnDelegateCookies()
48 new Cookie("testName1", TEST_VALUE_1), in testReturnDelegateCookies()
49 new Cookie("testName2", "testValue2") in testReturnDelegateCookies()
88 private static void assertCookieArraysEqual(Cookie[] one, Cookie[] two) { in assertCookieArraysEqual()
91 Cookie cookie = one[i]; in assertCookieArraysEqual()
96 private static void assertCookieEquality(Cookie one, Cookie two) { in assertCookieEquality()
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2109Spec.java41 import org.apache.http.cookie.Cookie;
108 public List<Cookie> parse(final Header header, final CookieOrigin origin) in parse()
121 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
136 public List<Header> formatCookies(List<Cookie> cookies) { in formatCookies()
145 cookies = new ArrayList<Cookie>(cookies); in formatCookies()
155 private List<Header> doFormatOneHeader(final List<Cookie> cookies) { in doFormatOneHeader()
158 for (Cookie cookie : cookies) { in doFormatOneHeader()
168 for (Cookie cooky : cookies) { in doFormatOneHeader()
170 Cookie cookie = cooky; in doFormatOneHeader()
178 private List<Header> doFormatManyHeaders(final List<Cookie> cookies) { in doFormatManyHeaders()
[all …]
DCookieSpecBase.java40 import org.apache.http.cookie.Cookie;
76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) in parse()
78 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); in parse()
108 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
121 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DBestMatchSpec.java38 import org.apache.http.cookie.Cookie;
100 public List<Cookie> parse( in parse()
137 final Cookie cookie, in validate()
152 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
166 public List<Header> formatCookies(final List<Cookie> cookies) { in formatCookies()
171 for (Cookie cookie: cookies) { in formatCookies()
DAbstractCookieAttributeHandler.java33 import org.apache.http.cookie.Cookie;
46 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
51 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DContinuingHttpServletRequest.java26 import javax.servlet.http.Cookie;
41 private final Cookie[] cookies;
46 Cookie[] originalCookies = request.getCookies(); in ContinuingHttpServletRequest()
49 cookies = new Cookie[numberOfCookies]; in ContinuingHttpServletRequest()
51 Cookie originalCookie = originalCookies[i]; in ContinuingHttpServletRequest()
90 @Override public Cookie[] getCookies() { in getCookies()
99 private static final class ImmutableCookie extends Cookie {
100 public ImmutableCookie(Cookie original) { in ImmutableCookie()
/external/curl/lib/
Dcookie.h28 struct Cookie { struct
29 struct Cookie *next; /* next in the chain */ argument
50 struct Cookie *cookies; argument
79 struct Cookie *Curl_cookie_add(struct SessionHandle *data,
83 struct Cookie *Curl_cookie_getlist(struct CookieInfo *, const char *,
85 void Curl_cookie_freelist(struct Cookie *cookies, bool cookiestoo);
Dcookie.c103 static void freecookie(struct Cookie *co) in freecookie()
300 struct Cookie *co, *nx, *pv; in remove_expired()
359 struct Cookie *
373 struct Cookie *clist; in Curl_cookie_add()
375 struct Cookie *co; in Curl_cookie_add()
376 struct Cookie *lastc=NULL; in Curl_cookie_add()
386 co = calloc(1, sizeof(struct Cookie)); in Curl_cookie_add()
966 struct Cookie *c1 = *(struct Cookie **)p1; in cookie_sort()
967 struct Cookie *c2 = *(struct Cookie **)p2; in cookie_sort()
1004 struct Cookie *Curl_cookie_getlist(struct CookieInfo *c, in Curl_cookie_getlist()
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DCookieIntegrationTest.java59 List<Cookie> cookiesReceived = new ArrayList<Cookie>();
61 List<Cookie> cookiesToSend = new ArrayList<Cookie>();
71 this.cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName))); in serve()
73 for (Cookie c : this.cookiesToSend) { in serve()
87 this.testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); in testCookieSentBackToClient()
/external/jetty/src/java/org/eclipse/jetty/server/
DCookieCutter.java22 import javax.servlet.http.Cookie;
45 private Cookie[] _cookies;
46 private Cookie[] _lastCookies;
54 public Cookie[] getCookies() in getCookies()
69 public void setCookies(Cookie[] cookies) in setCookies()
130 Cookie cookie = null; in parseFields()
314 cookie = new Cookie(name, value); in parseFields()
331 _cookies = (Cookie[]) LazyList.toArray(cookies,Cookie.class); in parseFields()
/external/apache-http/src/org/apache/http/cookie/
DCookieSpec.java81 List<Cookie> parse(Header header, CookieOrigin origin) throws MalformedCookieException; in parse()
91 void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException; in validate()
102 boolean match(Cookie cookie, CookieOrigin origin); in match()
111 List<Header> formatCookies(List<Cookie> cookies); in formatCookies()
DCookiePathComparator.java56 public class CookiePathComparator implements Serializable, Comparator<Cookie> {
60 private String normalizePath(final Cookie cookie) { in normalizePath()
71 public int compare(final Cookie c1, final Cookie c2) { in compare()
/external/jetty/src/java/org/eclipse/jetty/security/
DHashCrossContextPsuedoSession.java26 import javax.servlet.http.Cookie;
51 for (Cookie cookie : request.getCookies()) in fetch()
78 Cookie cookie = new Cookie(_cookieName, key); in store()
85 for (Cookie cookie : request.getCookies()) in clear()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java52 import org.apache.http.cookie.Cookie;
154 List<Cookie> cookies = new ArrayList<Cookie>(cookieStore.getCookies()); in process()
156 List<Cookie> matchedCookies = new ArrayList<Cookie>(); in process()
157 for (Cookie cookie : cookies) { in process()
176 for (Cookie cookie : matchedCookies) { in process()
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DCookieList.java53 String name = Cookie.unescape(x.nextTo('=')); in toJSONObject()
55 o.put(name, Cookie.unescape(x.nextTo(';'))); in toJSONObject()
82 sb.append(Cookie.escape(s)); in toString()
84 sb.append(Cookie.escape(o.getString(s))); in toString()
/external/apache-http/src/org/apache/http/client/
DCookieStore.java36 import org.apache.http.cookie.Cookie;
59 void addCookie(Cookie cookie); in addCookie()
66 List<Cookie> getCookies(); in getCookies()

123456