Enum Class ClientHttpObservation.LowCardinalityKeyNames
java.lang.Object
java.lang.Enum<ClientHttpObservation.LowCardinalityKeyNames>
org.springframework.http.client.observation.ClientHttpObservation.LowCardinalityKeyNames
- All Implemented Interfaces:
io.micrometer.common.docs.KeyName
,Serializable
,Comparable<ClientHttpObservation.LowCardinalityKeyNames>
,Constable
- Enclosing class:
- ClientHttpObservation
public static enum ClientHttpObservation.LowCardinalityKeyNames
extends Enum<ClientHttpObservation.LowCardinalityKeyNames>
implements io.micrometer.common.docs.KeyName
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionName of the exception thrown during the exchange, or"None"
if no exception happened.Name of HTTP request method or"None"
if the request could not be created.Outcome of the HTTP client exchange.HTTP response raw status code, or"IO_ERROR"
in case ofIOException
, or"CLIENT_ERROR"
if no response was received.URI template used for HTTP request, or""
if none was provided. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.micrometer.common.docs.KeyName
asString, withValue, withValue
-
Enum Constant Details
-
METHOD
Name of HTTP request method or"None"
if the request could not be created. -
URI
URI template used for HTTP request, or""
if none was provided. -
STATUS
HTTP response raw status code, or"IO_ERROR"
in case ofIOException
, or"CLIENT_ERROR"
if no response was received. -
EXCEPTION
Name of the exception thrown during the exchange, or"None"
if no exception happened. -
OUTCOME
Outcome of the HTTP client exchange.- See Also:
-
-
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
-