Package co.elastic.apm.api
Interface HeaderExtractor
public interface HeaderExtractor
Used to extract the first header with a specific header name.
Can be implemented as a lambda in Java 8 and as an anonymous inner class in Java 7.
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstHeader(String headerName) Returns the value of the provided header name
-
Method Details
-
getFirstHeader
Returns the value of the provided header name- Parameters:
headerName- the name of the header to extract- Returns:
- the value of the provided header name
-