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] [Resolved] (JUNEAU-83) Cannot subclass RestClient and RestClientBuilder
Date Thu, 26 Jul 2018 00:26:00 GMT

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

James Bognar resolved JUNEAU-83.
       Resolution: Fixed
    Fix Version/s: 7.2.0

> Cannot subclass RestClient and RestClientBuilder
> ------------------------------------------------
>                 Key: JUNEAU-83
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-83
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 7.1.0
>            Reporter: Peter Haumer
>            Priority: Major
>             Fix For: 7.2.0
> The Javadoc for the RestClient shows various examples and mentions that users can subclass
the RestClientBuilder to extend it. It shows how to do that for doing FORM-based auth and
connecting to a Jazz server.  However, currently RestClient and RestClientBuilder's constructors
are limited to package visibility. If you would change them to protected visibility they could
be subclassed again and the examples provided in the doc will work again. 

This message was sent by Atlassian JIRA

View raw message