Enum Class Http2ErrorCode

java.lang.Object
java.lang.Enum<Http2ErrorCode>
org.miaixz.bus.http.metric.http.Http2ErrorCode
All Implemented Interfaces:
Serializable, Comparable<Http2ErrorCode>, Constable

public enum Http2ErrorCode extends Enum<Http2ErrorCode>
错误码信息
Since:
Java 17+
Author:
Kimi Liu
  • Enum Constant Details

  • Field Details

    • httpCode

      public final int httpCode
  • Method Details

    • values

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

      public static Http2ErrorCode 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromHttp2

      public static Http2ErrorCode fromHttp2(int code)