Enum HttpClientProperties.Pool.PoolType
- java.lang.Object
-
- java.lang.Enum<HttpClientProperties.Pool.PoolType>
-
- org.springframework.cloud.gateway.config.HttpClientProperties.Pool.PoolType
-
- All Implemented Interfaces:
Serializable,Comparable<HttpClientProperties.Pool.PoolType>
- Enclosing class:
- HttpClientProperties.Pool
public static enum HttpClientProperties.Pool.PoolType extends Enum<HttpClientProperties.Pool.PoolType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpClientProperties.Pool.PoolTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HttpClientProperties.Pool.PoolType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELASTIC
public static final HttpClientProperties.Pool.PoolType ELASTIC
Elastic pool type.
-
FIXED
public static final HttpClientProperties.Pool.PoolType FIXED
Fixed pool type.
-
DISABLED
public static final HttpClientProperties.Pool.PoolType DISABLED
Disabled pool type.
-
-
Method Detail
-
values
public static HttpClientProperties.Pool.PoolType[] 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 (HttpClientProperties.Pool.PoolType c : HttpClientProperties.Pool.PoolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpClientProperties.Pool.PoolType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-