java.lang.Object
io.micrometer.core.instrument.binder.httpcomponents.hc5.DefaultUriMapper
- All Implemented Interfaces:
Function<org.apache.hc.core5.http.HttpRequest,String>
public class DefaultUriMapper
extends Object
implements Function<org.apache.hc.core5.http.HttpRequest,String>
Extracts the URI pattern from the predefined request header,
"URI_PATTERN" if available.
- Since:
- 1.11.0
-
Field Summary
Fields
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()
-
Method Details
-
apply
public String apply(org.apache.hc.core5.http.HttpRequest httpRequest)
- Specified by:
apply
in interface Function<org.apache.hc.core5.http.HttpRequest,String>