@@ -6,7 +6,7 @@ Simple robust cookie library
6
6
7
7
### CookieAccessInfo(domain,path,secure,script)
8
8
9
- class to determine matching qualities of a cookie
9
+ class to determine matching qualities of a cookie
10
10
11
11
##### Properties
12
12
@@ -18,11 +18,11 @@ Simple robust cookie library
18
18
19
19
### Cookie(cookiestr_or_cookie, request_domain, request_path)
20
20
21
- turns input into a Cookie (singleton if given a Cookie)
22
- the `request_domain` argument is used to default the domain if it is not explicit in the cookie string
23
- the `request_path` argument is used to set the path if it is not explicit in a cookie String.
21
+ It turns input into a Cookie (singleton if given a Cookie),
22
+ the ` request_domain ` argument is used to default the domain if it is not explicit in the cookie string,
23
+ the ` request_path ` argument is used to set the path if it is not explicit in a cookie String.
24
24
25
- explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat)
25
+ Explicit domains/paths will cascade, implied domains/paths must * exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat ).
26
26
27
27
##### Properties
28
28
@@ -38,20 +38,20 @@ Simple robust cookie library
38
38
39
39
##### Methods
40
40
41
- * String toString() - the __ set-cookie:__ string for this cookie
42
- * String toValueString() - the __ cookie:__ string for this cookie
43
- * Cookie parse(cookiestr, request_domain, request_path) - parses the string onto this cookie or a new one if called directly
44
- * Boolean matches(access_info) - returns true if the access_info allows retrieval of this cookie
45
- * Boolean collidesWith(cookie) - returns true if the cookies cannot exist in the same space (domain and path match)
41
+ * ` String toString() ` - the __ set-cookie:__ string for this cookie
42
+ * ` String toValueString() ` - the __ cookie:__ string for this cookie
43
+ * ` Cookie parse(cookiestr, request_domain, request_path) ` - parses the string onto this cookie or a new one if called directly
44
+ * ` Boolean matches(access_info) ` - returns true if the access_info allows retrieval of this cookie
45
+ * ` Boolean collidesWith(cookie) ` - returns true if the cookies cannot exist in the same space (domain and path match)
46
46
47
47
48
48
### CookieJar()
49
49
50
- class to hold numerous cookies from multiple domains correctly
50
+ class to hold numerous cookies from multiple domains correctly
51
51
52
52
##### Methods
53
53
54
- * Cookie setCookie(cookie, request_domain, request_path) - modify (or add if not already-existing) a cookie to the jar
55
- * Cookie[ ] setCookies(cookiestr_or_list, request_domain, request_path) - modify (or add if not already-existing) a large number of cookies to the jar
56
- * Cookie getCookie(cookie_name,access_info) - get a cookie with the name and access_info matching
57
- * Cookie[ ] getCookies(access_info) - grab all cookies matching this access_info
54
+ * ` Cookie setCookie(cookie, request_domain, request_path) ` - modify (or add if not already-existing) a cookie to the jar
55
+ * ` Cookie[] setCookies(cookiestr_or_list, request_domain, request_path) ` - modify (or add if not already-existing) a large number of cookies to the jar
56
+ * ` Cookie getCookie(cookie_name,access_info) ` - get a cookie with the name and access_info matching
57
+ * ` Cookie[] getCookies(access_info) ` - grab all cookies matching this access_info
0 commit comments