hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Potapov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-386) BasicHttpResponse and BasicAsync(Response/Request)Producer should have proper .toString() implementation
Date Mon, 14 Jul 2014 12:18:04 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060587#comment-14060587
] 

Dmitry Potapov commented on HTTPCORE-386:
-----------------------------------------

Thanks a lot. Implementation details are not significant. I glad I can remove all my FinePrintAsynResponseProducer
classes.

> 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


Mime
View raw message