Package com.newrelic.api.agent
Interface OutboundHeaders
-
- All Known Implementing Classes:
ConcurrentHashMapHeaders
,ExtendedResponse
public interface OutboundHeaders
The type-specific headers collection of an outbound message
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HeaderType
getHeaderType()
Return the type of header key syntax used for this.void
setHeader(java.lang.String name, java.lang.String value)
Sets a response header with the given name and value.
-
-
-
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
-
setHeader
void setHeader(java.lang.String name, java.lang.String value)
Sets a response header with the given name and value.- Parameters:
name
- The name of the header.value
- The value of the header.- Since:
- 3.5.0
-
-