/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 61 * Returns version of the state management this cookie specification 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 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 56 public class CookiePathComparator implements Serializable, Comparator<Cookie> { 60 private String normalizePath(final Cookie cookie) { 61 String path = cookie.getPath(); 71 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 54 * Parse the given cookie attribute value and update the corresponding 55 * {@link org.apache.http.cookie.Cookie} property. 57 * @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. 52 public class CookieIdentityComparator implements Serializable, Comparator<Cookie> { 56 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 50 public interface Cookie { 67 * Returns the comment describing the purpose of this cookie, or 75 * If a user agent (web browser) presents this cookie to a user, the 76 * cookie's purpose will be described by the information at this URL. 81 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt> 91 * 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; 49 public interface SetCookie extends Cookie { 54 * If a user agent (web browser) presents this cookie to a user, the 55 * cookie's purpose will be described using this comment. 69 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 71 * @see Cookie#getExpiryDate 81 * @see Cookie#getDomain 90 * @see Cookie#getPath 96 * Sets the secure attribute of the cookie [all...] |
/external/apache-http/src/org/apache/http/client/ |
CookieStore.java | 36 import org.apache.http.cookie.Cookie; 39 * Abstract cookie store. 53 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 54 * If the given cookie has already expired it will not be added, but existing 57 * @param cookie the {@link Cookie cookie} to be added 59 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; 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. 82 * If the given cookie has already expired it will not be added, but existing 85 * @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; 46 public void validate(final Cookie cookie, final CookieOrigin origin) 51 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; 50 public void parse(final SetCookie cookie, final String value) 52 if (cookie == null) { 53 throw new IllegalArgumentException("Cookie may not be null") [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
cookie_test.go | 20 Cookie *Cookie 24 &Cookie{Name: "cookie-1", Value: "v$1"}, 25 "cookie-1=v$1", 28 &Cookie{Name: "cookie-2", Value: "two", MaxAge: 3600}, 29 "cookie-2=two; Max-Age=3600", 32 &Cookie{Name: "cookie-3", Value: "three", Domain: ".example.com"} [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
cookie_test.go | 20 Cookie *Cookie 24 &Cookie{Name: "cookie-1", Value: "v$1"}, 25 "cookie-1=v$1", 28 &Cookie{Name: "cookie-2", Value: "two", MaxAge: 3600}, 29 "cookie-2=two; Max-Age=3600", 32 &Cookie{Name: "cookie-3", Value: "three", Domain: ".example.com"} [all...] |
/external/swiftshader/third_party/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);
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ContinuingHttpServletRequestTest.java | 26 import javax.servlet.http.Cookie; 33 private static final int DEFAULT_MAX_AGE = new Cookie("", "").getMaxAge(); 47 Cookie[] cookies = new Cookie[]{ 48 new Cookie("testName1", TEST_VALUE_1), 49 new Cookie("testName2", "testValue2") 88 private static void assertCookieArraysEqual(Cookie[] one, Cookie[] two) { 91 Cookie cookie = one[i] local [all...] |
/external/curl/lib/ |
cookie.h | 28 struct Cookie { 29 struct Cookie *next; /* next in the chain */ 32 char *path; /* path = <this> which is in Set-Cookie: */ 33 char *spath; /* sanitized cookie path */ 39 /* RFC 2109 keywords. Version=1 means 2109-compliant cookie sending */ 50 struct Cookie *cookies; 53 bool running; /* state info, for cookie adding information */ 58 /* This is the maximum line length we accept for a cookie line. RFC 2109 61 "at least 4096 bytes per cookie (as measured by the size of the characters 62 that comprise the cookie non-terminal in the syntax description of th [all...] |
/prebuilts/go/darwin-x86/src/net/ |
main_posix_test.go | 24 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_STREAM { 28 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_DGRAM { 32 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_RAW { 36 if so.Cookie.Family() == syscall.AF_INET6 && so.Cookie.Type() == syscall.SOCK_STREAM { 40 if so.Cookie.Family() == syscall.AF_INET6 && so.Cookie.Type() == syscall.SOCK_DGRAM [all...] |
/prebuilts/go/linux-x86/src/net/ |
main_posix_test.go | 24 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_STREAM { 28 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_DGRAM { 32 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_RAW { 36 if so.Cookie.Family() == syscall.AF_INET6 && so.Cookie.Type() == syscall.SOCK_STREAM { 40 if so.Cookie.Family() == syscall.AF_INET6 && so.Cookie.Type() == syscall.SOCK_DGRAM [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ContinuingHttpServletRequest.java | 26 import javax.servlet.http.Cookie; 41 private final Cookie[] cookies; 46 Cookie[] originalCookies = request.getCookies(); 49 cookies = new Cookie[numberOfCookies]; 51 Cookie originalCookie = originalCookies[i]; 53 // Snapshot each cookie + freeze. 90 @Override public Cookie[] getCookies() { 93 // form. Unfortunately, the cookie array itself is mutable and there is no way for us 99 private static final class ImmutableCookie extends Cookie { 100 public ImmutableCookie(Cookie original) [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
CookieList.java | 30 * Convert a web browser cookie list string to a JSONObject and back. 37 * Convert a cookie list into a JSONObject. A cookie list is a sequence 42 * To add a cookie to a cooklist, 45 * @param string A cookie list string 53 String name = Cookie.unescape(x.nextTo('=')); 55 o.put(name, Cookie.unescape(x.nextTo(';'))); 63 * Convert a JSONObject into a cookie list. A cookie list is a sequence 68 * @return A cookie list strin [all...] |
/external/llvm/include/llvm/Support/ |
Signals.h | 60 /// is delivered to the process. The handler can have a cookie passed to it 62 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
CookieIntegrationTest.java | 47 import org.apache.http.impl.cookie.BasicClientCookie; 59 List<Cookie> cookiesReceived = new ArrayList<Cookie>(); 61 List<Cookie> cookiesToSend = new ArrayList<Cookie>(); 71 this.cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName))); 73 for (Cookie c : this.cookiesToSend) { 87 this.testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30));
|
/prebuilts/go/darwin-x86/src/net/internal/socktest/ |
sys_cloexec.go | 36 sw.stats.getLocked(so.Cookie).AcceptFailed++ 39 nso := sw.addLocked(ns, so.Cookie.Family(), so.Cookie.Type(), so.Cookie.Protocol()) 40 sw.stats.getLocked(nso.Cookie).Accepted++
|
/prebuilts/go/linux-x86/src/net/internal/socktest/ |
sys_cloexec.go | 36 sw.stats.getLocked(so.Cookie).AcceptFailed++ 39 nso := sw.addLocked(ns, so.Cookie.Family(), so.Cookie.Type(), so.Cookie.Protocol()) 40 sw.stats.getLocked(nso.Cookie).Accepted++
|