Added more TODOs

This commit is contained in:
Trustin Lee 2009-02-20 13:07:03 +00:00
parent 8872294728
commit 874b043297
2 changed files with 3 additions and 1 deletions

View File

@ -32,8 +32,9 @@ import org.jboss.netty.util.CaseIgnoringComparator;
* @version $Rev$, $Date$
*/
public class HttpCookieDecoder {
private final static String semicolon = ";";
// TODO: Add domain, path, maxAge, and version (and perhaps secure and comment?)
private final static String semicolon = ";";
private final static String equals = "=";
public Map<String, HttpCookie> decode(String header) {

View File

@ -34,6 +34,7 @@ import org.jboss.netty.util.CaseIgnoringComparator;
*/
public class HttpCookieEncoder {
// TODO: Add domain, path, maxAge, and version (and perhaps secure and comment?)
private final Map<String, HttpCookie> cookies = new TreeMap<String, HttpCookie>(CaseIgnoringComparator.INSTANCE);
public void addCookie(String name, String val) {