java.lang.Object
io.micrometer.core.instrument.binder.httpcomponents.hc5.DefaultUriMapper
- All Implemented Interfaces:
Function<org.apache.hc.core5.http.HttpRequest,String>
Deprecated.
Extracts the URI pattern from the predefined request header,
"URI_PATTERN" if available.
- Since:
- 1.11.0
-
Field Summary
Fields
Deprecated.
Header name for URI pattern.
-
Constructor Summary
Constructors
-
Method Summary
apply(org.apache.hc.core5.http.HttpRequest httpRequest)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
DefaultUriMapper
public DefaultUriMapper()
Deprecated.
-
Method Details
-
apply
public String apply(org.apache.hc.core5.http.HttpRequest httpRequest)
Deprecated.
- Specified by:
apply
in interface Function<org.apache.hc.core5.http.HttpRequest,String>
HttpClientContext
value withApacheHttpClientObservationConvention.URI_TEMPLATE_ATTRIBUTE
as key name.