程序包 com.walker.web

Enum Class CaptchaType

java.lang.Object
java.lang.Enum<CaptchaType>
com.walker.web.CaptchaType
所有已实现的接口:
Serializable, Comparable<CaptchaType>, Constable

public enum CaptchaType extends Enum<CaptchaType>
验证码类型定义。
作者:
时克英
  • 枚举常量详细资料

    • InputCode

      public static final CaptchaType InputCode
      普通输入验证码:数字、公式、计算结果等
    • SmsCode

      public static final CaptchaType SmsCode
      短信验证码
    • Slide

      public static final CaptchaType Slide
      纯滑块验证
    • Jigsaw

      public static final CaptchaType Jigsaw
      拼图验证
    • JigsawMobile

      public static final CaptchaType JigsawMobile
      新的拼图验证组件,效果更好,更适合移动端使用。PC端同样能用,电商模块添加。
    • None

      public static final CaptchaType None
      空验证码类型,没有使用验证码。
    • ThirdParty

      public static final CaptchaType ThirdParty
      第三方登录对接验证方式(目前对接为预算一体化,其他后面遇到再看情况)。
  • 字段详细资料

  • 方法详细资料

    • values

      public static CaptchaType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CaptchaType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getIndex

      public String getIndex()
    • getType

      public static final CaptchaType getType(String index)