You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2020/04/11 13:25:00 UTC

[jira] [Closed] (JUNEAU-193) RestClient should support all languages by default.

     [ https://issues.apache.org/jira/browse/JUNEAU-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Bognar closed JUNEAU-193.
-------------------------------
    Fix Version/s: 8.1.4
         Assignee: James Bognar
       Resolution: Fixed

This is available in the new RestClient class.  You can associate multiple serializers and parsers on the client.  The request Content-Type and response Accept headers control which ones are used.

There is also a new RestClientBuilder.universal() shortcut method for selecting all available serializers and parsers.

 

 

> RestClient should support all languages by default.
> ---------------------------------------------------
>
>                 Key: JUNEAU-193
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-193
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.4
>
>
> Currently the RestClient class only supports a single language (e.g. JSON).  It would be better if RestClient could be configured to use any number of serializers and parsers and have the correct ones picked based on the Accept and Content-Type headers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)