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

SerializableProvider should use Media.isCompatible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.0.4.Final
    • 3.0-beta-4
    • jaxrs
    • None

    Description

      While playing with SerializableProvider in RestEASY beta 3 I got errors due to a MediaType being changed to "application/x-java-serialized-object;charset=UTF-8" by a global servlet Spring filter. Charset is useless but I think the @Provider should use MediaType.isCompatible instead of String equals.

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            jfherouard.almerys@gmail.com jf her (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: