headers
Purpose
Headers to send with the request.Examples
jerseyRequestBuilder.post { uri = "http://example.com" headers = [ "X-Auth-ApiKey": "a8205db2-3da5-11e3-a1f6-d4bed904d91e" ] }
Provides the Jersey client library and a builder to simplify use of the library.
(Quick Reference)
headersPurposeHeaders to send with the request.ExamplesjerseyRequestBuilder.post { uri = "http://example.com" headers = [ "X-Auth-ApiKey": "a8205db2-3da5-11e3-a1f6-d4bed904d91e" ] } DescriptionSets the key/value pairs to use as HTTP headers. |
Jersey Request Builder |