Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-247

Fix issue with wrong informational message given when no Response entity and wrong class used when trying to find media type if not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.1
    • Server
    • None

    Description

      There's an issue with the wrong informational message being displayed if the response entity is empty (so only status code).

      Also, I believe when populating the response entity type (and given a Response object), the wrong type is used to filter the set of possible types (i.e. Response.class is used instead of Response.getEntity()). This doesn't really change anything since the possible response media type set will be the same in the end for the vast majority of cases since most MessageBodyWriter/Readers use Object as the generic type and you would have to use a specific generic type.

      Attachments

        Activity

          People

            bluk Bryant Luk
            bluk Bryant Luk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: