Package com.launchdarkly.eventsource
Class ResponseHeaders.Header
java.lang.Object
com.launchdarkly.eventsource.ResponseHeaders.Header
- Enclosing interface:
- ResponseHeaders
Represents a single HTTP header as a name-value pair.
Header names are case-insensitive according to the HTTP specification, but the original case is preserved in this representation.
- Since:
- 4.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Header
Creates a header with the given name and value.- Parameters:
name- the header namevalue- the header value
-
-
Method Details