juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Haumer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JUNEAU-83) Cannot subclass RestClient and RestClientBuilder
Date Mon, 04 Jun 2018 08:09:00 GMT
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)

Mime
View raw message