contentType
Purpose
Sets theContent-Type
header of the request.Examples
jerseyRequestBuilder.post { uri = "http://example.com" contentType = "application/json" }
Description
Sets theContent-Type
header of the request.
Provides the Jersey client library and a builder to simplify use of the library.
(Quick Reference)
contentTypePurposeSets theContent-Type header of the request.ExamplesjerseyRequestBuilder.post { uri = "http://example.com" contentType = "application/json" } DescriptionSets theContent-Type header of the request.
|
Jersey Request Builder |