Home
last modified time | relevance | path

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

1234

/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/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()
DRFC2965Spec.java43 import org.apache.http.cookie.Cookie;
101 public List<Cookie> parse( in parse()
115 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); in parse()
158 public void validate(final Cookie cookie, CookieOrigin origin) in validate()
171 public boolean match(final Cookie cookie, CookieOrigin origin) { in match()
187 final Cookie cookie, int version) { in formatCookieAsVer()
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()
DRFC2965CommentUrlAttributeHandler.java34 import org.apache.http.cookie.Cookie;
63 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
67 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DRFC2965DiscardAttributeHandler.java34 import org.apache.http.cookie.Cookie;
63 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
67 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DRFC2965VersionAttributeHandler.java35 import org.apache.http.cookie.Cookie;
83 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
97 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DNetscapeDomainHandler.java36 import org.apache.http.cookie.Cookie;
53 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
97 public boolean match(Cookie cookie, CookieOrigin origin) { in match()
DBasicPathHandler.java33 import org.apache.http.cookie.Cookie;
62 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
71 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DNetscapeDraftSpec.java41 import org.apache.http.cookie.Cookie;
124 public List<Cookie> parse(final Header header, final CookieOrigin origin) in parse()
152 public List<Header> formatCookies(final List<Cookie> cookies) { in formatCookies()
163 Cookie cookie = cookies.get(i); in formatCookies()
DBasicDomainHandler.java33 import org.apache.http.cookie.Cookie;
65 public void validate(final Cookie cookie, final CookieOrigin origin) in validate()
107 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
DBrowserCompatSpec.java42 import org.apache.http.cookie.Cookie;
108 public List<Cookie> parse(final Header header, final CookieOrigin origin) in parse()
158 public List<Header> formatCookies(final List<Cookie> cookies) { in formatCookies()
169 Cookie cookie = cookies.get(i); in formatCookies()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DCookieIntegrationTest.java35 testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); in testCookieSentBackToClient()
67 List<Cookie> cookiesReceived = new ArrayList<Cookie>();
68 List<Cookie> cookiesToSend = new ArrayList<Cookie>();
77 cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName))); in serve()
79 for (Cookie c : cookiesToSend) { in serve()
/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()
DCookieIdentityComparator.java52 public class CookieIdentityComparator implements Serializable, Comparator<Cookie> {
56 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()
DResponseProcessCookies.java45 import org.apache.http.cookie.Cookie;
125 List<Cookie> cookies = cookieSpec.parse(header, cookieOrigin); in processCookies()
126 for (Cookie cookie : cookies) { in processCookies()
159 private String cookieToString(Cookie cookie) { in cookieToString()
/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()
/external/tcpdump/tests/
DQinQpacketv.out6 Magic Cookie 0x63825363
19 Magic Cookie 0x63825363
33 Magic Cookie 0x63825363
46 Magic Cookie 0x63825363
59 Magic Cookie 0x63825363
72 Magic Cookie 0x63825363
85 Magic Cookie 0x63825363
98 Magic Cookie 0x63825363
116 Magic Cookie 0x63825363
129 Magic Cookie 0x63825363
[all …]

1234