public abstract class TemplateAuthType extends java.lang.Object implements IntegerType
构造器和说明 |
---|
TemplateAuthType() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract int |
getTypeValue() |
static TemplateAuthType |
parse(int type) |
static void |
registerTemplateAuthType(TemplateAuthType templateAuthType) |
static void |
reset()
线程不安全,仅单线程环境调用
|
abstract void |
setAuthTypeConfig(java.lang.String digitalAuthKey) |
abstract TempAuthValidatorStatus |
templateAuth(TempAuthValidatorStatus status,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
int |
toInteger()
枚举值转为整数结果
|
protected abstract int getTypeValue()
public abstract void setAuthTypeConfig(java.lang.String digitalAuthKey)
public abstract TempAuthValidatorStatus templateAuth(TempAuthValidatorStatus status, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
public int toInteger()
IntegerType
toInteger
在接口中 IntegerType
public static TemplateAuthType parse(int type)
public static void registerTemplateAuthType(TemplateAuthType templateAuthType)
public static void reset()