Interface HttpServerAttributesGetter<REQUEST,RESPONSE>
- All Superinterfaces:
HttpCommonAttributesGetter<REQUEST,RESPONSE>
public interface HttpServerAttributesGetter<REQUEST,RESPONSE>
extends HttpCommonAttributesGetter<REQUEST,RESPONSE>
An interface for getting HTTP server attributes.
Instrumentation authors will create implementations of this interface for their specific
library/framework. It will be used by the HttpServerAttributesExtractor to obtain the
various HTTP server attributes in a type-generic way.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringDeprecated.default Stringdefault Stringdefault Stringdefault Stringdefault StringDeprecated.UsegetRoute(Object)instead.default StringDeprecated.UsegetScheme(Object)instead.default StringDeprecated.UsegetTarget(Object)instead.Methods inherited from interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesGetter
getMethod, getRequestHeader, getResponseHeader, getStatusCode, method, requestHeader, responseHeader, statusCode
-
Method Details
-
getFlavor
-
flavor
Deprecated.UsegetFlavor(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getTarget
-
target
Deprecated.UsegetTarget(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getRoute
-
route
Deprecated.UsegetRoute(Object)instead.This method is deprecated and will be removed in the subsequent release. -
getScheme
-
scheme
Deprecated.UsegetScheme(Object)instead.This method is deprecated and will be removed in the subsequent release.
-
getFlavor(Object)instead.