Package com.foxinmy.weixin4j.token
Class TokenCreator
- java.lang.Object
-
- com.foxinmy.weixin4j.token.TokenCreator
-
- All Implemented Interfaces:
CacheCreator<Token>
- Direct Known Subclasses:
WeixinComponentPreCodeCreator
,WeixinComponentTokenCreator
,WeixinProviderTokenCreator
,WeixinSuitePreCodeCreator
,WeixinSuiteTokenCreator
,WeixinTicketCreator
,WeixinTicketCreator
,WeixinTokenComponentCreator
,WeixinTokenCreator
,WeixinTokenCreator
,WeixinTokenSuiteCreator
public abstract class TokenCreator extends Object implements CacheCreator<Token>
Token的创建- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHEKEY_PREFIX
缓存KEY前缀protected WeixinRequestExecutor
weixinExecutor
-
Constructor Summary
Constructors Constructor Description TokenCreator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
key()
缓存key:附加key前缀abstract String
name()
返回缓存类型命名,如mp_tokenabstract String
uniqueid()
返回缓存唯一标识,如appid-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.foxinmy.weixin4j.cache.CacheCreator
create
-
-
-
-
Field Detail
-
CACHEKEY_PREFIX
public static final String CACHEKEY_PREFIX
缓存KEY前缀- See Also:
- Constant Field Values
-
weixinExecutor
protected final WeixinRequestExecutor weixinExecutor
-
-