1 /*global $k*/
  2 
  3 /**
  4  * Creates a new cookie
  5  *
  6  * @param {string} name
  7  * @param {string} value
  8  *
  9  * @class Represents a new HTTP Cookie (RFC 2109) that can be added to a response
 10  * @extends $k.Cookie
 11 **/
 12 $k.NewCookie = function(name, value) { };
 13 
 14 /**
 15  * Returns the comment of the cookie
 16  *
 17  * @function
 18  * @returns {string}
 19 **/
 20 $k.NewCookie.prototype.comment = function() { };
 21 
 22 /**
 23  * Returns the domain of the cookie
 24  *
 25  * @function
 26  * @returns {string}
 27 **/
 28 $k.NewCookie.prototype.domain = function() { };
 29 
 30 /**
 31  * Returns the expiry date of the cookie
 32  *
 33  * @function
 34  * @returns {date}
 35 **/
 36 $k.NewCookie.prototype.expiry = function() { };
 37 
 38 /**
 39  * Returns true if the cookie contains the HttpOnly attribute
 40  *
 41  * @function
 42  * @returns {boolean}
 43 **/
 44 $k.NewCookie.prototype.httpOnly = function() { };
 45 
 46 /**
 47  * Returns the maximum age of the the cookie in seconds
 48  *
 49  * @function
 50  * @returns {number}
 51 **/
 52 $k.NewCookie.prototype.maxAge = function() { };
 53 
 54 /**
 55  * Returns the path of the cookie
 56  *
 57  * @function
 58  * @returns {string}
 59 **/
 60 $k.NewCookie.prototype.path = function() { };
 61 
 62 /**
 63  * Returns the port of the cookie
 64  *
 65  * @function
 66  * @returns {number}
 67 **/
 68 $k.NewCookie.prototype.port = function() { };
 69 
 70 /**
 71  * Returns true if the cookie will only be sent over a secure connection
 72  *
 73  * @function
 74  * @returns {boolean}
 75 **/
 76 $k.NewCookie.prototype.secureOnly = function() { };
 77 
 78 /**
 79  * Sets the comment of the cookie
 80  *
 81  * @function
 82  * @param {string} comment
 83 **/
 84 $k.NewCookie.prototype.setComment = function(comment) { };
 85 
 86 /**
 87  * Sets the domain of the cookie
 88  *
 89  * @function
 90  * @param {string} domain
 91 **/
 92 $k.NewCookie.prototype.setDomain = function(domain) { };
 93 
 94 /**
 95  * Sets the expiry date of the cookie
 96  *
 97  * @function
 98  * @param {date} expiryDate
 99 **/
100 $k.NewCookie.prototype.setExpiry = function(expiryDate) { };
101 
102 /**
103  * Set the HttpOnly attribute
104  *
105  * @function
106  * @param {boolean} [httpOnly] True if undefined
107 **/
108 $k.NewCookie.prototype.setHttpOnly = function(httpOnly) { };
109 
110 /**
111  * Sets the maximum age of the the cookie in seconds
112  *
113  * @function
114  * @param {number} maxAge
115 **/
116 $k.NewCookie.prototype.setMaxAge = function(maxAge) { };
117 
118 /**
119  * Sets the path of the cookie
120  *
121  * @function
122  * @param {string} path
123 **/
124 $k.NewCookie.prototype.setPath = function(path) { };
125 
126 /**
127  * Sets the port of the cookie
128  *
129  * @function
130  * @param {number} port
131 **/
132 $k.NewCookie.prototype.setPort = function(port) { };
133 
134 /**
135  * Set if the cookie will only be sent over a secure connection
136  *
137  * @function
138  * @param {boolean} [secureOnly] True if undefined
139 **/
140 $k.NewCookie.prototype.setSecureOnly = function(secureOnly) { };
141 
142 /**
143  * Sets the version of the cookie
144  *
145  * @function
146  * @param {number} version
147 **/
148 $k.NewCookie.prototype.setVersion = function(version) { };
149 
150 /**
151  * Returns the version of the cookie
152  *
153  * @function
154  * @returns {number}
155 **/
156 $k.NewCookie.prototype.version = function() { };
157 
158