You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Peter Haumer (JIRA)" <ji...@apache.org> on 2018/06/04 08:09:00 UTC

[jira] [Created] (JUNEAU-83) Cannot subclass RestClient and RestClientBuilder

Peter Haumer created JUNEAU-83:
----------------------------------

             Summary: 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


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 ResClient and RestClientBuilder's constructors are limited to package visibility. If you would change them to protected visibility they could be subclasses again and the examples provided in the doc will work again. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)