Enum Http2TestCases

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Http2TestCases>

    public enum Http2TestCases
    extends java.lang.Enum<Http2TestCases>
    Enum of HTTP/2 interop test cases.
    • Method Detail

      • values

        public static Http2TestCases[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Http2TestCases c : Http2TestCases.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Http2TestCases valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • description

        public java.lang.String description()
        Returns a description of the test case.
      • fromString

        public static Http2TestCases fromString​(java.lang.String s)
        Returns the Http2TestCases matching the string s. The matching is case insensitive.