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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.0.9, 2.1.3
    • Component/s: Transports
    • Labels:
      None
    • Environment:

      All

    • Estimated Complexity:
      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

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              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