You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/07/14 13:54:04 UTC
[jira] [Resolved] (HTTPCORE-386) BasicHttpResponse and
BasicAsync(Response/Request)Producer should have proper .toString()
implementation
[ https://issues.apache.org/jira/browse/HTTPCORE-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-386.
----------------------------------------
Resolution: Fixed
Fix Version/s: 4.4-alpha2
4.3.3
Hi Dmitry
I checked in your patch to SVN trunk and 4.3.x branch with some changes. In particular I took liberty of tweaking the AbstractHttpEntity#toString implementation. I hope you can live with those changes.
Oleg
> BasicHttpResponse and BasicAsync(Response/Request)Producer should have proper .toString() implementation
> --------------------------------------------------------------------------------------------------------
>
> Key: HTTPCORE-386
> URL: https://issues.apache.org/jira/browse/HTTPCORE-386
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Reporter: Dmitry Potapov
> Priority: Trivial
> Fix For: 4.3.3, 4.4-alpha2
>
> Attachments: toString.patch
>
>
> Sometimes it is useful to print Response/Request producer info to log. Doing this every time by hands leads to code duplications and poor code quality.
> My suggestion is to add proper .toString() implementation to AbstractHttpEntity, BasicHttpResponse, BasicAsyncResponseProducer and BasicAsyncRequestProducer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org