Package com.newrelic.api.agent
Interface InboundHeaders
-
- All Known Implementing Classes:
ConcurrentHashMapHeaders
,ExtendedInboundHeaders
,ExtendedRequest
public interface InboundHeaders
The type-specific headers collection of an inbound message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getHeader(java.lang.String name)
Returns the value of the specified request header as aString
.HeaderType
getHeaderType()
Return the type of header key syntax used for this.
-
-
-
Method Detail
-
getHeaderType
HeaderType getHeaderType()
Return the type of header key syntax used for this.- Returns:
- An
enum
specifying the type of headers present. - Since:
- 3.5.0
-
getHeader
java.lang.String getHeader(java.lang.String name)
Returns the value of the specified request header as aString
. If the request does not include a header with the specified input name, then this method returnsnull
.- Parameters:
name
- The name of the desired request header.- Returns:
- A
String
containing the value of the specified input request header, ornull
if the request header is not present. - Since:
- 3.5.0
-
-