Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-386

BasicHttpResponse and BasicAsync(Response/Request)Producer should have proper .toString() implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 4.3.3, 4.4-beta1
    • None
    • None

    Description

      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.

      Attachments

        1. toString.patch
          5 kB
          Dmitry Potapov

        Activity

          People

            Unassigned Unassigned
            hirthwork Dmitry Potapov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: