public static interface SessionConfig.CookieConfig
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COOKIE_DOMAIN_DEFAULT |
static Boolean |
COOKIE_HTTP_ONLY_DEFAULT |
static Integer |
COOKIE_MAX_AGE_DEFAULT |
static String |
COOKIE_NAME_DEFAULT |
static String |
COOKIE_PATH_DEFAULT |
static Boolean |
COOKIE_SECURE_DEFAULT |
static final String COOKIE_DOMAIN_DEFAULT
static final Integer COOKIE_MAX_AGE_DEFAULT
static final Boolean COOKIE_HTTP_ONLY_DEFAULT
static final Boolean COOKIE_SECURE_DEFAULT
String getName()
String getDomain()
null表示根据当前请求自动设置domain。String getPath()
int getMaxAge()
0表示临时cookie,随浏览器的关闭而消失。boolean isHttpOnly()
boolean isSecure()
Copyright © 2006-2013 开源组织. All Rights Reserved.