Package com.newrelic.api.agent
Interface InboundHeaders
- 
- All Known Implementing Classes:
- ConcurrentHashMapHeaders,- ExtendedInboundHeaders,- ExtendedRequest
 
 public interface InboundHeadersThe type-specific headers collection of an inbound message.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHeader(java.lang.String name)Returns the value of the specified request header as aString.HeaderTypegetHeaderType()Return the type of header key syntax used for this.
 
- 
- 
- 
Method Detail- 
getHeaderTypeHeaderType getHeaderType() Return the type of header key syntax used for this.- Returns:
- An enumspecifying the type of headers present.
- Since:
- 3.5.0
 
 - 
getHeaderjava.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 Stringcontaining the value of the specified input request header, ornullif the request header is not present.
- Since:
- 3.5.0
 
 
- 
 
-