Let AbstractResourceStreamWriter implement empty getContentType()
-----------------------------------------------------------------

                 Key: WICKET-3585
                 URL: https://issues.apache.org/jira/browse/WICKET-3585
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-core
    Affects Versions: 1.4.17
            Reporter: Sven Meier
            Priority: Trivial


AbstractResourceStreamWriter's javadoc says it already:

"Base implementation of an IResourceStreamWriter so that you only have to 
override the write() method"

Actually I have to override getContentType() too, which is most of the time 
superfluous when the request target knows the resource's name and the type can 
be identified automatically :(.

Please add an empty implementation to AbstractResourceStreamWriter.

Thanks

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to