1 package org.apache.turbine.util.parser; 2 3 18 19 import javax.servlet.http.HttpServletRequest ; 20 import javax.servlet.http.HttpServletResponse ; 21 22 import org.apache.turbine.util.RunData; 23 import org.apache.turbine.util.uri.URI; 24 25 52 public interface CookieParser 53 extends ValueParser 54 { 55 int AGE_SESSION = -1; 56 int AGE_DELETE = 0; 57 58 64 RunData getRunData(); 65 66 71 HttpServletRequest getRequest(); 72 73 80 void setRunData(RunData data); 81 82 90 void setData(HttpServletRequest request, 91 HttpServletResponse response); 92 93 96 URI getCookiePath(); 97 98 101 void setCookiePath(URI path); 102 103 107 void set(String name, String value); 108 109 113 void set(String name, String value, int seconds_age); 114 115 118 void unset(String name); 119 } 120 | Popular Tags |