Package io.grpc.testing.integration
Enum Http2TestCases
- java.lang.Object
-
- java.lang.Enum<Http2TestCases>
-
- io.grpc.testing.integration.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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOAWAYMAX_STREAMSPINGRST_AFTER_DATARST_AFTER_HEADERRST_DURING_DATA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Returns a description of the test case.static Http2TestCasesfromString(java.lang.String s)Returns theHttp2TestCasesmatching the strings.static Http2TestCasesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Http2TestCases[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RST_AFTER_HEADER
public static final Http2TestCases RST_AFTER_HEADER
-
RST_AFTER_DATA
public static final Http2TestCases RST_AFTER_DATA
-
RST_DURING_DATA
public static final Http2TestCases RST_DURING_DATA
-
GOAWAY
public static final Http2TestCases GOAWAY
-
PING
public static final Http2TestCases PING
-
MAX_STREAMS
public static final Http2TestCases MAX_STREAMS
-
-
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 namejava.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 theHttp2TestCasesmatching the strings. The matching is case insensitive.
-
-