Package co.elastic.apm.api
Interface HeaderInjector
public interface HeaderInjector
Used to inject a header into a networking library's underlying outgoing request object.
Can be implemented as a lambda in Java 8 and as an anonymous inner class in Java 7.
-
Method Summary
-
Method Details
-
addHeader
Injects a header key and value into the underlying request object of an networking library- Parameters:
headerName- the name of the headerheaderValue- the value of the header
-