hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Poulard (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-774) Unable to extend HttpConnection
Date Mon, 19 May 2008 15:57:58 GMT
Unable to extend HttpConnection
-------------------------------

                 Key: HTTPCLIENT-774
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-774
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient
    Affects Versions: 3.1 Final
            Reporter: Philippe Poulard
            Priority: Minor


Hi,

I had to extend HttpConnection for a specific purpose (discussing with a server emulator in
order to get server-side components)
The original code is very long and I had to rewrite very few methods :
-open()
-tunnelCreated()
-isResponseAvailable(int timeout)
-shutdownOutput()

unfortunately, I can't create myself the input and output streams since the fields are private
:
    private InputStream inputStream = null;
    private OutputStream outputStream = null;

What I need is just turn that fields protected, in order to avoid this ugly hack :
https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/root/src/java/org/inria/ns/reflex/util/wunit/DirectConnexion.java?rev=364&root=reflex&view=auto

Thanks in advance

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message