Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-854

Dump request and response body in RequestDumpingHandler

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.2.Final, 1.4.24.Final
    • 1.4.3.Final
    • Core
    • None

      We are trying to use RequestDumpingHandler to log all about request and response for testing and auditing purpose. However, the output doesn't include request body and response body. I think I know how to get request body by consuming the input stream and attached the parsed body to the exchange for subsequent handlers. Response body is the hard part and I found several posts mentioned that in the mailing list but the solution is hard to understand without knowing the details on how the server works. Can this be added to the handler? Thanks.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              stevehu_jira Steve Hu (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: