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

ServletController.generateServiceList is private - cannot extend/change the way a service list is built

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.0.9, 2.1.3
    • Transports
    • None
    • All

    • Novice

    Description

      The ServletController.generateService method is private instead of protected. This means that in order to change the way/layout of the service list I have to override the invoke method instead, which is not recommended since it contains some logic that might be updated in a later version.

      Proposed solution:
      Change: private void generateServiceList(HttpServletRequest request, HttpServletResponse response) throws IOException
      To: protected void generateServiceList(HttpServletRequest request, HttpServletResponse response) throws IOException

      Attachments

        1. patch.txt
          0.7 kB
          Peter Liljenberg

        Activity

          People

            dkulp Daniel Kulp
            pliljenberg@gmail.com Peter Liljenberg
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified