JERSEY-2260: "Default Http client craches when query param is a json object ({key:val})"
Space character is encoded by "%20" instead of "+" to allow repeatedly call contextual encoding of (query) value using new type UriComponent.Type.QUERY_PARAM_SPACE_ENCODED.
This fixes following:
- client-side: "a b" => "a+b" => "a%2Bb"
- server-side: "a%2Bb" => "a+b" != "a b"

New behaviour:
- client-side: "a b" => "a%20b" => "a%20b"
- server-side: "a%20b" => "a b"

Now it is possible to encode query param value:
webTarget.queryParam("text", UriComponent.encode(text, UriComponent.Type.QUERY_PARAM_SPACE_ENCODED))

Change-Id: I9b17696a4c98bea29035b287c346a7198d0920ac
Merge "JERSEY-2260: "Default Http client craches when query param is a json object ({key:val})" Space character is encoded by "%20" instead of "+" to allow repeatedly call contextual encoding of (query) value using new type UriComponent.Type.QUERY_PARAM_SPACE_ENCODED. This fixes following: - client-side: "a b" => "a+b" => "a%2Bb" - server-side: "a%2Bb" => "a+b" != "a b""