Object | +--helma.Http.Cookie
Instances of this object represent a HTTP cookie
Defined in Http.js
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |
| Constructor Summary | |
helma.Http.Cookie(<String> name, <String> value)
Creates a new instance of helma.Http.Cookie |
|
| Properties Summary | |
String |
domain
An optional domain where this cookie is valid |
Date |
expires
An optional date defining the lifetime of this cookie |
String |
name
The name of the Cookie |
String |
path
An optional path where this cookie is valid |
String |
value
The value of the Cookie |
<static> <final> java.text.SimpleDateFormat |
DATEFORMAT
An instance of java.text.SimpleDateFormat used for both parsing an "expires" string into a date and vice versa |
<static> <final> RegExp |
PATTERN
A regular expression used for parsing cookie strings |
| Methods Summary | |
String
|
getFieldValue()
Returns this cookie in a format useable to set the HTTP header field "Cookie" |
<static> helma.Http.Cookie
|
parse(<String> cookieStr)
Parses the cookie string passed as argument into an instance of helma.Http |
| Constructor Detail |
helma.Http.Cookie(<String> name, <String> value)
name - The name of the cookie
value - The value of the cookie
| Properties Detail |
String domain
Date expires
String name
String path
String value
<static> <final> java.text.SimpleDateFormat DATEFORMAT
<static> <final> RegExp PATTERN
| Method Detail |
String getFieldValue()
<static> helma.Http.Cookie parse(<String> cookieStr)
cookieStr - The cookie string as received from the remote server
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |