Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3472

Cannot override HTTPConduit's handleResponse() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 2.4
    • 2.4.1, 2.3.5
    • Core
    • None

    Description

      Current, all response message processing of HTTPConduit is in the class WrappedOutputStream, e.g. handleResponse(), and handleResponseInternal() method, so we cannot extend HTTPConduit to override both method if we want to add more functions during processing response. because the class WrappedOutputStream need some input parameter and the its sub-class cannot get these private properties.
      My use case is: I have my customized HTTPConduit which needs to override handleResponse() method to catch its instead of cxf's default logic.

      Can cxf move both meothd from WrappedOutputStream class to HTTPConduit so that we can override them? thanks.

      David

      Attachments

        Activity

          People

            njiang Willem Jiang
            veaven David Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: