Enum Class SecurityMessage

java.lang.Object
java.lang.Enum<SecurityMessage>
cn.openjava.basic.format.message.SecurityMessage
所有已实现的接口:
IComplexMessage, IMessage, Serializable, Comparable<SecurityMessage>, Constable

public enum SecurityMessage extends Enum<SecurityMessage> implements IComplexMessage
  • 枚举常量详细资料

    • SECURITY_ERROR

      public static final SecurityMessage SECURITY_ERROR
      安全校验失败
    • SECURITY_NOT_AUTH

      public static final SecurityMessage SECURITY_NOT_AUTH
      登录认证未通过
    • SECURITY_NOT_ALLOWED_HTTP_METHOD

      public static final SecurityMessage SECURITY_NOT_ALLOWED_HTTP_METHOD
      不安全的HTTP方法
    • METHOD_NOT_SUPPORTED

      public static final SecurityMessage METHOD_NOT_SUPPORTED
      HTTP方法不被支持
    • URL_NOT_FOUND

      public static final SecurityMessage URL_NOT_FOUND
      请求地址不存在
  • 方法详细资料

    • values

      public static SecurityMessage[] 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 SecurityMessage 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 - 如果参数为空值