net.sf.antcontrib.net
public class PostTask.Cookie extends Object
Constructor Summary | |
---|---|
Cookie(String raw) | |
Cookie(String name, String value) |
Method Summary | |
---|---|
String | getDomain() |
String | getId() |
String | getName() |
String | getPath() |
String | getValue() |
void | setDomain(String domain) |
void | setPath(String path) |
String | toString() |
Parameters: raw the raw string abstracted from the header of an http response for a single cookie.
Parameters: name name of the cookie value the value of the cookie
Returns: the domain of the cookie
Returns: the id of the cookie, used internally by Post to store the cookie in a hashtable.
Returns: the name of the cookie
Returns: the path of the cookie
Returns: the value of the cookie
Parameters: the domain of the cookie
Parameters: path the path of the cookie
Returns: a Cookie formatted as a Cookie Version 1 string. The returned string is suitable for including with an http request.