Http Headers
Encapsulates a map of HTTP headers, allowing case-insensitive lookup.
Functions
Link copied to clipboard
Add all of the headers from another headers object into this headers object.
Link copied to clipboard
Return this headers object, configured to allow safe concurrent read/write access.
Link copied to clipboard
Return a copy of these headers.
Link copied to clipboard
@NotNull
Construct an empty HttpHeaders if the
headers parameter is null.Link copied to clipboard
Return the header entries (name/value pairs).
Link copied to clipboard
Return the header names.
Link copied to clipboard
Return the header entries (name/value pairs) sorted by name (case insensitive).
Link copied to clipboard
Return the header names in sorted order.
Link copied to clipboard
Return headers as a JSON string, that the key field is lower case.
Link copied to clipboard
@NotNull
Equivalent to
withData("X-Client-Credentials", value).Link copied to clipboard
@NotNull
Equivalent to
withData("X-Create-Parameters", value).Link copied to clipboard
@NotNull
Equivalent to
withData("X-Delete-Parameters", parameters).Link copied to clipboard
@NotNull
Equivalent to
withData("X-Update-Parameters", value).