accept
Purpose
Sets theAccept
header of the request.Examples
jerseyRequestBuilder.get { uri = "http://example.com" accept = "text/html" }
Description
Sets theAccept
header of the outgoing request. This option informs the server that the client expects a certain Content-Type
in the response.