|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface CookieParser
CookieParser是用来解析和添加HTTP请求中的cookies的接口。
注意:CookieParser永远使用ISO-8859-1编码来处理cookie的名称和值。
| 字段摘要 | |
|---|---|
static int |
AGE_DELETE
|
static int |
AGE_SESSION
|
| 方法摘要 | |
|---|---|
void |
removeCookie(String name)
Remove a previously set cookie from the client machine. |
void |
setCookie(String name,
String value)
设置session cookie。 |
void |
setCookie(String name,
String value,
int seconds_age)
Set a persisten cookie on the client that will expire after a maximum age (given in seconds). |
| 从接口 org.tinygroup.weblayer.webcontext.parser.valueparser.ValueParser 继承的方法 |
|---|
add, add, add, add, add, add, add, add, add, clear, containsKey, get, getBoolean, getBoolean, getByte, getByte, getBytes, getChar, getChar, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getInts, getInts, getKeys, getLong, getLong, getLongs, getLongs, getObject, getObject, getObjectOfType, getObjectOfType, getObjects, getObjects, getShort, getShort, getString, getString, getStrings, getStrings, getTypeConverter, isEmpty, keySet, remove, setObject, setObjects, setProperties, setString, setStrings, size |
| 字段详细信息 |
|---|
static final int AGE_SESSION
static final int AGE_DELETE
| 方法详细信息 |
|---|
void setCookie(String name,
String value)
void setCookie(String name,
String value,
int seconds_age)
void removeCookie(String name)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||