Enum WebClientHttpAttributesGetter
java.lang.Object
java.lang.Enum<WebClientHttpAttributesGetter>
io.opentelemetry.instrumentation.spring.webflux.v5_3.internal.WebClientHttpAttributesGetter
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,,org.springframework.web.reactive.function.client.ClientResponse> io.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,,org.springframework.web.reactive.function.client.ClientResponse> io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,,org.springframework.web.reactive.function.client.ClientResponse> io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest>,Serializable,Comparable<WebClientHttpAttributesGetter>,java.lang.constant.Constable
public enum WebClientHttpAttributesGetter
extends Enum<WebClientHttpAttributesGetter>
implements io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetErrorType(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response, Throwable error) getHttpRequestHeader(org.springframework.web.reactive.function.client.ClientRequest request, String name) getHttpRequestMethod(org.springframework.web.reactive.function.client.ClientRequest request) getHttpResponseHeader(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response, String name) getHttpResponseStatusCode(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response, Throwable error) getServerAddress(org.springframework.web.reactive.function.client.ClientRequest request) getServerPort(org.springframework.web.reactive.function.client.ClientRequest request) getUrlFull(org.springframework.web.reactive.function.client.ClientRequest request) Returns the enum constant of this type with the specified name.static WebClientHttpAttributesGetter[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter
getNetworkLocalAddress, getNetworkLocalInetSocketAddress, getNetworkLocalPort, getNetworkPeerAddress, getNetworkPeerInetSocketAddress, getNetworkPeerPort, getNetworkProtocolName, getNetworkProtocolVersion, getNetworkTransport, getNetworkType
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getUrlFull
- Specified by:
getUrlFullin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-
getHttpRequestMethod
public String getHttpRequestMethod(org.springframework.web.reactive.function.client.ClientRequest request) - Specified by:
getHttpRequestMethodin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-
getHttpRequestHeader
public List<String> getHttpRequestHeader(org.springframework.web.reactive.function.client.ClientRequest request, String name) - Specified by:
getHttpRequestHeaderin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-
getHttpResponseStatusCode
@Nullable public Integer getHttpResponseStatusCode(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response, @Nullable Throwable error) - Specified by:
getHttpResponseStatusCodein interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-
getHttpResponseHeader
public List<String> getHttpResponseHeader(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response, String name) - Specified by:
getHttpResponseHeaderin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-
getServerAddress
@Nullable public String getServerAddress(org.springframework.web.reactive.function.client.ClientRequest request) - Specified by:
getServerAddressin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse> - Specified by:
getServerAddressin interfaceio.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest>
-
getServerPort
public Integer getServerPort(org.springframework.web.reactive.function.client.ClientRequest request) - Specified by:
getServerPortin interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse> - Specified by:
getServerPortin interfaceio.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest>
-
getErrorType
@Nullable public String getErrorType(org.springframework.web.reactive.function.client.ClientRequest request, @Nullable org.springframework.web.reactive.function.client.ClientResponse response, @Nullable Throwable error) - Specified by:
getErrorTypein interfaceio.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
-