hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Logging of httpclient.wire.content depending on the target of the connection
Date Fri, 14 Jun 2013 13:02:26 GMT
On Fri, 2013-06-14 at 01:18 -0400, JOSE L MARTINEZ-AVIAL wrote:
> I just took a quick look at the source code(4.3-alpha1), and it seems the
> best option would be to modify
> org.apache.http.impl.conn.SocketClientConnectionImpl so the wire created in
> the constructor would be provided by a protected method. That way the
> creation of the wire logger could be customized by extending
> SocketClientConnectionImpl.
> How does it sound?
> 

Jose

You should be using ManagedHttpClientConnectionImpl (or a local copy of
it) from 4.3-beta2. 4.3-alpha1 API is helplessly outdated.

Hope this helps

Oleg



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


Mime
View raw message