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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]