Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3585

Let AbstractResourceStreamWriter implement empty getContentType()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.17
    • 1.4.18, 1.5-RC4
    • wicket
    • None

    Description

      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

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: