juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-193) RestClient should support all languages by default.
Date Sat, 11 Apr 2020 13:25:00 GMT

     [ 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

View raw message