org.tinygroup.weblayer.webcontext.session
public static interface SessionConfig.CookieConfig
| Modifier and Type | Field and 描述 |
|---|---|
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–2015 TinyGroup. All rights reserved.