cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Liljenberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1782) ServletController.generateServiceList is private - cannot extend/change the way a service list is built
Date Thu, 11 Sep 2008 21:25:44 GMT

    [ https://issues.apache.org/jira/browse/CXF-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630384#action_12630384
] 

Peter Liljenberg commented on CXF-1782:
---------------------------------------

That's what I thought as well, although I must say that I do not know the spec word-by-word.
Hopefully we can get the patch (or another solution?) in the next release?

> ServletController.generateServiceList is private - cannot extend/change the way a service
list is built
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1782
>                 URL: https://issues.apache.org/jira/browse/CXF-1782
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1.2
>         Environment: All
>            Reporter: Peter Liljenberg
>         Attachments: patch.txt
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message