Enum Class HttpRequestsObservation.LowCardinalityKeyNames
java.lang.Object
java.lang.Enum<HttpRequestsObservation.LowCardinalityKeyNames>
org.springframework.web.observation.HttpRequestsObservation.LowCardinalityKeyNames
- All Implemented Interfaces:
io.micrometer.common.docs.KeyName
,Serializable
,Comparable<HttpRequestsObservation.LowCardinalityKeyNames>
,Constable
- Enclosing class:
- HttpRequestsObservation
public static enum HttpRequestsObservation.LowCardinalityKeyNames
extends Enum<HttpRequestsObservation.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 was not received properly.Outcome of the HTTP server exchange.HTTP response raw status code, or"STATUS_UNKNOWN"
if no response was created.URI pattern for the matching handler if available, falling back toREDIRECTION
for 3xx responses,NOT_FOUND
for 404 responses,root
for requests with no path info, andUNKNOWN
for all other requests. -
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 was not received properly. -
STATUS
HTTP response raw status code, or"STATUS_UNKNOWN"
if no response was created. -
URI
URI pattern for the matching handler if available, falling back toREDIRECTION
for 3xx responses,NOT_FOUND
for 404 responses,root
for requests with no path info, andUNKNOWN
for all other requests. -
EXCEPTION
Name of the exception thrown during the exchange, or"None"
if no exception happened. -
OUTCOME
Outcome of the HTTP server 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
-