public class CookieConf extends BaseConf
| Modifier and Type | Field and Description |
|---|---|
static String |
KeyCookieExpires |
static String |
KeyCookieKey |
static String |
KeyCookieMachine |
static String |
KeyCookieName |
| Constructor and Description |
|---|
CookieConf() |
| Modifier and Type | Method and Description |
|---|---|
static CookieConf |
build(String name,
String machine,
String key) |
static CookieConf |
build(String name,
String machine,
String key,
Integer expires) |
Integer |
getExpires() |
String |
getKey() |
String |
getMachine() |
String |
getName() |
config, getBoolean, getInteger, getLong, getString, getStringArray, set, set, set, set, setpublic static String KeyCookieName
public static String KeyCookieMachine
public static String KeyCookieKey
public static String KeyCookieExpires
public static CookieConf build(String name, String machine, String key)
name - 名称machine - 机器码key - 加密keypublic static CookieConf build(String name, String machine, String key, Integer expires)
name - 名称machine - 机器码key - 加密keyexpires - 过期时间public String getName()
public String getMachine()
public String getKey()
public Integer getExpires()
Copyright © 2019. All rights reserved.