Package io.servicetalk.http.api
Enum AbstractHttpRequesterFilterTest.RequesterType
- java.lang.Object
-
- java.lang.Enum<AbstractHttpRequesterFilterTest.RequesterType>
-
- io.servicetalk.http.api.AbstractHttpRequesterFilterTest.RequesterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractHttpRequesterFilterTest.RequesterType>
- Enclosing class:
- AbstractHttpRequesterFilterTest
public static enum AbstractHttpRequesterFilterTest.RequesterType extends java.lang.Enum<AbstractHttpRequesterFilterTest.RequesterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Client
Connection
ReservedConnection
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractHttpRequesterFilterTest.RequesterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractHttpRequesterFilterTest.RequesterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Client
public static final AbstractHttpRequesterFilterTest.RequesterType Client
-
Connection
public static final AbstractHttpRequesterFilterTest.RequesterType Connection
-
ReservedConnection
public static final AbstractHttpRequesterFilterTest.RequesterType ReservedConnection
-
-
Method Detail
-
values
public static AbstractHttpRequesterFilterTest.RequesterType[] 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 (AbstractHttpRequesterFilterTest.RequesterType c : AbstractHttpRequesterFilterTest.RequesterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractHttpRequesterFilterTest.RequesterType 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
-
-