[
https://issues.apache.org/jira/browse/WICKET-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-3585.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC4
1.4.18
Assignee: Martin Grigorov
r1088576 (trunk) and r1088577 (1.4.x).
> 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
> Assignee: Martin Grigorov
> Priority: Trivial
> Fix For: 1.4.18, 1.5-RC4
>
>
> 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