Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3538

Update determining the MediaType of Responses to check MessageBodyWriter's which support the entity type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 7.0.0.Beta1
    • None
    • Core
    • None

      RESTEasy does not properly determine the media type for response. It seems to skip, or at least partially skip, the last step of part 2.

      Else set P={V(writers)} where writers is the set of MessageBodyWriter that support the class of the returned entity object.

      What we skip is retrieving the @Produces for the MessageBodyWriter which can support the object type.

      See the long discussion in the linked forum post for more details.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: