Module io.helidon.webclient.api
Package io.helidon.webclient.spi
Enum Class HttpClientSpi.SupportLevel
- All Implemented Interfaces:
Serializable
,Comparable<HttpClientSpi.SupportLevel>
,Constable
- Enclosing interface:
HttpClientSpi
How does the provider support the request.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis request is compatible by this client, but we have not yet done it (for example always returned by HTTP/1.1).This request can never be supported by this client.This request is supported by this client, as we have already tried it (for example we have a cached connection).We may support this, but not sure until we try. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClientSpi.SupportLevel
Returns the enum constant of this class with the specified name.static HttpClientSpi.SupportLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_SUPPORTED
This request can never be supported by this client. -
UNKNOWN
We may support this, but not sure until we try. -
COMPATIBLE
This request is compatible by this client, but we have not yet done it (for example always returned by HTTP/1.1). -
SUPPORTED
This request is supported by this client, as we have already tried it (for example we have a cached connection).
-
-
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
-