Enum Class HttpClientProperties.Factory
java.lang.Object
java.lang.Enum<HttpClientProperties.Factory>
org.springframework.boot.autoconfigure.http.client.HttpClientProperties.Factory
- All Implemented Interfaces:
Serializable
,Comparable<HttpClientProperties.Factory>
,Constable
- Enclosing class:
- HttpClientProperties
Supported factory types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApache HttpComponents HttpClient.Java's HttpClient.Jetty's HttpClient.Reactor-Netty.Standard JDK facilities. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClientProperties.Factory
Returns the enum constant of this class with the specified name.static HttpClientProperties.Factory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HTTP_COMPONENTS
Apache HttpComponents HttpClient. -
JETTY
Jetty's HttpClient. -
REACTOR
Reactor-Netty. -
JDK
Java's HttpClient. -
SIMPLE
Standard JDK facilities.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-