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

Wildcard matching for MessageBodyReaders/Writers i.e. "application/*+xml"

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • Beta 6
    • None
    • jaxrs
    • None

    Description

      My application can return two
      different representations based on the Accept header sent:
      "application/xml" or "application/vnd.google-earth.kml+xml". It is
      annoying that because the default JAXB providers only @Produce
      "application/xml" the second one is not handled, I need to define my own
      subclasses that @Produce the KML MIME type, adding no functionality
      other than this annotation. The "+xml" suffix is defined by RFC 3023, so
      it seems to be accepted as a standard way to denote subtypes
      compatible with "application/xml", maybe this should be handled somehow?

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            patriot1burke@gmail.com Bill Burke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: